public class DropTriggerConstantAction extends DDLSingleTableConstantAction
Modifier and Type | Field and Description |
---|---|
private SchemaDescriptor |
sd |
private java.lang.String |
triggerName |
tableId
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Constructor and Description |
---|
DropTriggerConstantAction(SchemaDescriptor sd,
java.lang.String triggerName,
UUID tableId)
Make the ConstantAction for a DROP TRIGGER statement.
|
Modifier and Type | Method and Description |
---|---|
void |
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for DROP STATEMENT.
|
java.lang.String |
toString() |
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
private final java.lang.String triggerName
private final SchemaDescriptor sd
DropTriggerConstantAction(SchemaDescriptor sd, java.lang.String triggerName, UUID tableId)
sd
- Schema that stored prepared statement lives in.triggerName
- Name of the TriggertableId
- The table upon which the trigger is definedpublic void executeConstantAction(Activation activation) throws StandardException
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.