Class RowTriggerExecutor
java.lang.Object
org.apache.derby.impl.sql.execute.GenericTriggerExecutor
org.apache.derby.impl.sql.execute.RowTriggerExecutor
A row trigger executor is an object that executes
a row trigger. It is instantiated at execution time.
There is one per row trigger.
-
Field Summary
Fields inherited from class GenericTriggerExecutor
activation, tec, triggerd -
Constructor Summary
ConstructorsConstructorDescriptionRowTriggerExecutor(InternalTriggerExecutionContext tec, TriggerDescriptor triggerd, Activation activation, LanguageConnectionContext lcc) Constructor -
Method Summary
Modifier and TypeMethodDescription(package private) voidfireTrigger(TriggerEvent event, CursorResultSet brs, CursorResultSet ars, int[] colsReadFromTable) Fire the trigger based on the event.Methods inherited from class GenericTriggerExecutor
clearSPS, executeWhenClauseAndAction
-
Constructor Details
-
RowTriggerExecutor
RowTriggerExecutor(InternalTriggerExecutionContext tec, TriggerDescriptor triggerd, Activation activation, LanguageConnectionContext lcc) Constructor- Parameters:
tec- the execution contexttriggerd- the trigger descriptoractivation- the activationlcc- the lcc
-
-
Method Details
-
fireTrigger
void fireTrigger(TriggerEvent event, CursorResultSet brs, CursorResultSet ars, int[] colsReadFromTable) throws StandardException Fire the trigger based on the event.- Specified by:
fireTriggerin classGenericTriggerExecutor- Parameters:
event- the trigger eventbrs- the before result setars- the after result setcolsReadFromTable- columns required from the trigger table by the triggering sql
-