org.apache.derby.impl.sql.execute
Class DropTriggerConstantAction
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.DropTriggerConstantAction
- All Implemented Interfaces:
- ConstantAction
- class DropTriggerConstantAction
- extends DDLSingleTableConstantAction
This class describes actions that are ALWAYS performed for a
DROP TRIGGER Statement at Execution time.
- Author:
- Jamie
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
triggerName
private final java.lang.String triggerName
sd
private final SchemaDescriptor sd
tableId
protected UUID tableId
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
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)
dropTriggerDescriptor
static void dropTriggerDescriptor(LanguageConnectionContext lcc,
DependencyManager dm,
DataDictionary dd,
TransactionController tc,
TriggerDescriptor triggerd,
Activation activation)
throws StandardException
- Throws:
StandardException
toString
public java.lang.String toString()
modifiesTableId
public boolean modifiesTableId(UUID tableId)
- Does this constant action modify the passed in table
uuid? By modify we mean add or drop things tied to
this table (e.g. index, trigger, constraint). Things
like views or spses that reference this table don't
count.
- Specified by:
modifiesTableId
in interface ConstantAction
- Overrides:
modifiesTableId
in class DDLConstantAction
- Parameters:
tableId
- the table id
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.