| Modifier and Type | Field and Description |
|---|---|
| private Activation | |
| private ConnectionContext | |
| private int | |
| private GenericTriggerExecutor[][] | |
| private LanguageConnectionContext | |
| private String | |
| private UUID | |
| private String | |
| private InternalTriggerExecutionContext | |
| private TriggerInfo |
| Access | Constructor and Description |
|---|---|
| public | TriggerEventActivator(LanguageConnectionContext
the lcc lcc, UUID tableId, TriggerInfo the trigger information triggerInfo, int Type of DML for which this trigger is being fired. dmlType, Activation the activation. activation, Vector<AutoincrementCounter> vector of ai counters aiCounters)Basic constructor |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | notifyEvent(TriggerEvent
a trigger event event, CursorResultSet the before result set. Typically
a TemporaryRowHolderResultSet but sometimes a
BulkTableScanResultSet brs, CursorResultSet the after result set. Typically
a TemporaryRowHolderResultSet but sometimes a
BulkTableScanResultSet ars, int[] columns required from the trigger table
by the triggering sql colsReadFromTable)Handle the given event. |
| pack-priv void | |
| private void |
| activation | back to summary |
|---|---|
| private Activation activation | |
| cc | back to summary |
|---|---|
| private ConnectionContext cc | |
| dmlType | back to summary |
|---|---|
| private int dmlType | |
| executors | back to summary |
|---|---|
| private GenericTriggerExecutor[][] executors | |
| lcc | back to summary |
|---|---|
| private LanguageConnectionContext lcc | |
| statementText | back to summary |
|---|---|
| private String statementText | |
| tableId | back to summary |
|---|---|
| private UUID tableId | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| tec | back to summary |
|---|---|
| private InternalTriggerExecutionContext tec | |
| triggerInfo | back to summary |
|---|---|
| private TriggerInfo triggerInfo | |
| TriggerEventActivator | back to summary |
|---|---|
| public TriggerEventActivator(LanguageConnectionContext lcc, UUID tableId, TriggerInfo triggerInfo, int dmlType, Activation activation, Vector<AutoincrementCounter> aiCounters) throws StandardException Basic constructor
| |
| cleanup | back to summary |
|---|---|
| public void cleanup() throws StandardException Clean up and release resources.
| |
| notifyEvent | back to summary |
|---|---|
| public void notifyEvent(TriggerEvent event, CursorResultSet brs, CursorResultSet ars, int[] colsReadFromTable) throws StandardException Handle the given event.
| |
| reopen | back to summary |
|---|---|
| pack-priv void reopen() throws StandardException Reopen the trigger activator. Just creates a new trigger execution context. Note that close() still must be called when you are done -- you cannot just do a reopen() w/o a first doing a close.
| |
| setupExecutors | back to summary |
|---|---|
| private void setupExecutors(TriggerInfo triggerInfo) throws StandardException | |