ConstantAction
public class DropTriggerConstantAction extends DDLSingleTableConstantAction
Modifier and Type | Field | Description |
---|---|---|
private SchemaDescriptor |
sd |
|
private java.lang.String |
triggerName |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
tableId
Constructor | Description |
---|---|
DropTriggerConstantAction(SchemaDescriptor sd,
java.lang.String triggerName,
UUID tableId) |
Make the ConstantAction for a DROP TRIGGER statement.
|
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() |
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.