| java.lang.Object org.apache.derby.impl.sql.execute.GenericConstantAction org.apache.derby.impl.sql.execute.DDLConstantAction org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction org.apache.derby.impl.sql.execute.CreateTriggerConstantAction
CreateTriggerConstantAction | class CreateTriggerConstantAction extends DDLSingleTableConstantAction (Code) | | This class describes actions that are ALWAYS performed for a
CREATE TRIGGER Statement at Execution time.
author: Jamie |
Constructor Summary | |
| CreateTriggerConstantAction(String triggerSchemaName, String triggerName, int eventMask, boolean isBefore, boolean isRow, boolean isEnabled, TableDescriptor triggerTable, UUID whenSPSId, String whenText, UUID actionSPSId, String actionText, UUID spsCompSchemaId, Timestamp creationTimestamp, int[] referencedCols, String originalActionText, boolean referencingOld, boolean referencingNew, String oldReferencingName, String newReferencingName) Make the ConstantAction for a CREATE TRIGGER statement.
Parameters: triggerSchemaName - name for the schema that trigger lives in. Parameters: triggerName - Name of trigger Parameters: eventMask - TriggerDescriptor.TRIGGER_EVENT_XXXX Parameters: isBefore - is this a before (as opposed to after) trigger Parameters: isRow - is this a row trigger or statement trigger Parameters: isEnabled - is this trigger enabled or disabled Parameters: triggerTable - the table upon which this trigger is defined Parameters: whenSPSId - the sps id for the when clause (may be null) Parameters: whenText - the text of the when clause (may be null) Parameters: actionSPSId - the spsid for the trigger action (may be null) Parameters: actionText - the text of the trigger action Parameters: spsCompSchemaId - the compilation schema for the action and whenspses. |
CreateTriggerConstantAction | CreateTriggerConstantAction(String triggerSchemaName, String triggerName, int eventMask, boolean isBefore, boolean isRow, boolean isEnabled, TableDescriptor triggerTable, UUID whenSPSId, String whenText, UUID actionSPSId, String actionText, UUID spsCompSchemaId, Timestamp creationTimestamp, int[] referencedCols, String originalActionText, boolean referencingOld, boolean referencingNew, String oldReferencingName, String newReferencingName)(Code) | | Make the ConstantAction for a CREATE TRIGGER statement.
Parameters: triggerSchemaName - name for the schema that trigger lives in. Parameters: triggerName - Name of trigger Parameters: eventMask - TriggerDescriptor.TRIGGER_EVENT_XXXX Parameters: isBefore - is this a before (as opposed to after) trigger Parameters: isRow - is this a row trigger or statement trigger Parameters: isEnabled - is this trigger enabled or disabled Parameters: triggerTable - the table upon which this trigger is defined Parameters: whenSPSId - the sps id for the when clause (may be null) Parameters: whenText - the text of the when clause (may be null) Parameters: actionSPSId - the spsid for the trigger action (may be null) Parameters: actionText - the text of the trigger action Parameters: spsCompSchemaId - the compilation schema for the action and whenspses. If null, will be set to the current defaultschema Parameters: creationTimestamp - when was this trigger created? if null, will beset to the time that executeConstantAction() is invoked Parameters: referencedCols - what columns does this trigger reference (may be null) Parameters: originalActionText - The original user text of the trigger action Parameters: referencingOld - whether or not OLD appears in REFERENCING clause Parameters: referencingNew - whether or not NEW appears in REFERENCING clause Parameters: oldReferencingName - old referencing table name, if any, that appears in REFERENCING clause Parameters: newReferencingName - new referencing table name, if any, that appears in REFERENCING clause |
Fields inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction | protected UUID tableId(Code)(Java Doc)
|
Methods inherited from org.apache.derby.impl.sql.execute.DDLConstantAction | protected String constructToString(String statementType, String objectName)(Code)(Java Doc) static SchemaDescriptor getAndCheckSchemaDescriptor(DataDictionary dd, UUID schemaId, String statementType) throws StandardException(Code)(Java Doc) static SchemaDescriptor getSchemaDescriptorForCreate(DataDictionary dd, Activation activation, String schemaName) throws StandardException(Code)(Java Doc) final void lockTableForDDL(TransactionController tc, long heapConglomerateNumber, boolean exclusiveMode) throws StandardException(Code)(Java Doc) protected void storeConstraintDependenciesOnPrivileges(Activation activation, Dependent dependent, UUID refTableUUID) throws StandardException(Code)(Java Doc) protected void storeViewTriggerDependenciesOnPrivileges(Activation activation, Dependent dependent) throws StandardException(Code)(Java Doc)
|
|
|