| Modifier and Type | Field and Description |
|---|---|
| private SPSDescriptor | |
| private ExecPreparedStatement | |
| private boolean | |
| pack-priv final Activation | |
| private final LanguageConnectionContext | |
| private Activation | |
| private Activation | |
| pack-priv final InternalTriggerExecutionContext | |
| pack-priv final TriggerDescriptor | |
| private SPSDescriptor | |
| private boolean | |
| private ExecPreparedStatement |
| Access | Constructor and Description |
|---|---|
| pack-priv | GenericTriggerExecutor(InternalTriggerExecutionContext
the execution context tec, TriggerDescriptor the trigger descriptor triggerd, Activation the activation activation, LanguageConnectionContext the lcc lcc)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private boolean | Returns: true if the SPS is for a WHEN clause and it evaluated
to TRUE, false otherwisethe SPS to execute sps, boolean true if the SPS is for the WHEN clause,
false otherwiseExecute the given stored prepared statement. |
| pack-priv final void | |
| pack-priv abstract void | fireTrigger(TriggerEvent
the trigger event event, CursorResultSet the before result set brs, CursorResultSet the after result set ars, int[] columns required from the trigger table
by the triggering sql colsReadFromTable)Fire the trigger based on the event. |
| private SPSDescriptor | |
| private SPSDescriptor |
| action | back to summary |
|---|---|
| private SPSDescriptor action | |
| actionPS | back to summary |
|---|---|
| private ExecPreparedStatement actionPS | |
| actionRetrieved | back to summary |
|---|---|
| private boolean actionRetrieved | |
| activation | back to summary |
|---|---|
| pack-priv final Activation activation | |
| lcc | back to summary |
|---|---|
| private final LanguageConnectionContext lcc | |
| spsActionActivation | back to summary |
|---|---|
| private Activation spsActionActivation | |
| spsWhenActivation | back to summary |
|---|---|
| private Activation spsWhenActivation | |
| tec | back to summary |
|---|---|
| pack-priv final InternalTriggerExecutionContext tec | |
| triggerd | back to summary |
|---|---|
| pack-priv final TriggerDescriptor triggerd | |
| whenClause | back to summary |
|---|---|
| private SPSDescriptor whenClause | |
| whenClauseRetrieved | back to summary |
|---|---|
| private boolean whenClauseRetrieved | |
| whenPS | back to summary |
|---|---|
| private ExecPreparedStatement whenPS | |
| GenericTriggerExecutor | back to summary |
|---|---|
| pack-priv GenericTriggerExecutor(InternalTriggerExecutionContext tec, TriggerDescriptor triggerd, Activation activation, LanguageConnectionContext lcc) Constructor
| |
| clearSPS | back to summary |
|---|---|
| protected void clearSPS() throws StandardException Cleanup after executing the SPS for the WHEN clause and trigger action.
| |
| executeSPS | back to summary |
|---|---|
| private boolean executeSPS(SPSDescriptor sps, boolean isWhen) throws StandardException Execute the given stored prepared statement. We just grab the prepared statement from the spsd, get a new activation holder and let er rip.
| |
| executeWhenClauseAndAction | back to summary |
|---|---|
| pack-priv final void executeWhenClauseAndAction() throws StandardException Execute the WHEN clause SPS and the trigger action SPS. If there is no WHEN clause, the trigger action should always be executed. If there is a WHEN clause, the trigger action should only be executed if the WHEN clause returns TRUE.
| |
| fireTrigger | back to summary |
|---|---|
| pack-priv abstract void fireTrigger(TriggerEvent event, CursorResultSet brs, CursorResultSet ars, int[] colsReadFromTable) throws StandardException Fire the trigger based on the event.
| |
| getAction | back to summary |
|---|---|
| private SPSDescriptor getAction() throws StandardException | |
| getWhenClause | back to summary |
|---|---|
| private SPSDescriptor getWhenClause() throws StandardException | |