org.apache.derby.impl.sql.execute
Class RowTriggerExecutor
java.lang.Object
org.apache.derby.impl.sql.execute.GenericTriggerExecutor
org.apache.derby.impl.sql.execute.RowTriggerExecutor
public class RowTriggerExecutor
- extends GenericTriggerExecutor
A row trigger executor is an object that executes
a row trigger. It is instantiated at execution time.
There is one per row trigger.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowTriggerExecutor
RowTriggerExecutor(InternalTriggerExecutionContext tec,
TriggerDescriptor triggerd,
Activation activation,
LanguageConnectionContext lcc)
- Constructor
- Parameters:
tec - the execution contexttriggerd - the trigger descriptoractivation - the activationlcc - the lcc
fireTrigger
void fireTrigger(TriggerEvent event,
CursorResultSet brs,
CursorResultSet ars,
int[] colsReadFromTable)
throws StandardException
- Fire the trigger based on the event.
- Specified by:
fireTrigger in class GenericTriggerExecutor
- Parameters:
event - the trigger eventbrs - the before result setars - the after result setcolsReadFromTable - columns required from the trigger table
by the triggering sql
- Throws:
StandardExcetion - on error or general trigger
exception
StandardException - on error or user exception
from trigger action
Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.