|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.GenericTriggerExecutor
A trigger executor is an object that executes a trigger. It is subclassed by row and statement executors.
Field Summary | |
private SPSDescriptor |
action
|
private boolean |
actionRetrieved
|
protected Activation |
activation
|
protected LanguageConnectionContext |
lcc
|
private ExecPreparedStatement |
ps
|
private Activation |
spsActivation
|
protected InternalTriggerExecutionContext |
tec
|
protected TriggerDescriptor |
triggerd
|
private SPSDescriptor |
whenClause
|
private boolean |
whenClauseRetrieved
|
Constructor Summary | |
(package private) |
GenericTriggerExecutor(InternalTriggerExecutionContext tec,
TriggerDescriptor triggerd,
Activation activation,
LanguageConnectionContext lcc)
Constructor |
Method Summary | |
protected void |
clearSPS()
Cleanup after executing an sps. |
protected void |
executeSPS(SPSDescriptor sps)
Execute the given stored prepared statement. |
(package private) abstract void |
fireTrigger(TriggerEvent event,
CursorResultSet brs,
CursorResultSet ars)
Fire the trigger based on the event. |
protected SPSDescriptor |
getAction()
|
protected SPSDescriptor |
getWhenClause()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected InternalTriggerExecutionContext tec
protected TriggerDescriptor triggerd
protected Activation activation
protected LanguageConnectionContext lcc
private boolean whenClauseRetrieved
private boolean actionRetrieved
private SPSDescriptor whenClause
private SPSDescriptor action
private ExecPreparedStatement ps
private Activation spsActivation
Constructor Detail |
GenericTriggerExecutor(InternalTriggerExecutionContext tec, TriggerDescriptor triggerd, Activation activation, LanguageConnectionContext lcc)
tec
- the execution contexttriggerd
- the trigger descriptoractivation
- the activationlcc
- the lccMethod Detail |
abstract void fireTrigger(TriggerEvent event, CursorResultSet brs, CursorResultSet ars) throws StandardException
event
- the trigger eventbrs
- the before result setars
- the after result set
StandardException
- on error or user exception
from trigger actionprotected SPSDescriptor getWhenClause() throws StandardException
StandardException
protected SPSDescriptor getAction() throws StandardException
StandardException
protected void executeSPS(SPSDescriptor sps) throws StandardException
StandardException
- on errorprotected void clearSPS() throws StandardException
StandardException
- on error
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |