Class DropTriggerConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.DDLConstantAction
-
- org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
-
- org.apache.derby.impl.sql.execute.DropTriggerConstantAction
-
- All Implemented Interfaces:
ConstantAction
public class DropTriggerConstantAction extends DDLSingleTableConstantAction
This class describes actions that are ALWAYS performed for a DROP TRIGGER Statement at Execution time.
-
-
Field Summary
Fields Modifier and Type Field Description private SchemaDescriptor
sd
private java.lang.String
triggerName
-
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description DropTriggerConstantAction(SchemaDescriptor sd, java.lang.String triggerName, UUID tableId)
Make the ConstantAction for a DROP TRIGGER statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for DROP STATEMENT.java.lang.String
toString()
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
-
-
-
Field Detail
-
triggerName
private final java.lang.String triggerName
-
sd
private final SchemaDescriptor sd
-
-
Constructor Detail
-
DropTriggerConstantAction
DropTriggerConstantAction(SchemaDescriptor sd, java.lang.String triggerName, UUID tableId)
Make the ConstantAction for a DROP TRIGGER statement.- Parameters:
sd
- Schema that stored prepared statement lives in.triggerName
- Name of the TriggertableId
- The table upon which the trigger is defined
-
-
Method Detail
-
executeConstantAction
public void executeConstantAction(Activation activation) throws StandardException
This is the guts of the Execution-time logic for DROP STATEMENT.- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure- See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-