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:
- org.apache.derby.iapi.sql.execute.ConstantAction
- class DropTriggerConstantAction
- extends DDLSingleTableConstantAction
This class describes actions that are ALWAYS performed for a
DROP TRIGGER Statement at Execution time.
triggerName
private final java.lang.String triggerName
sd
private final org.apache.derby.iapi.sql.dictionary.SchemaDescriptor sd
tableId
protected org.apache.derby.catalog.UUID tableId
DropTriggerConstantAction
DropTriggerConstantAction(org.apache.derby.iapi.sql.dictionary.SchemaDescriptor sd,
java.lang.String triggerName,
org.apache.derby.catalog.UUID tableId)
- Make the ConstantAction for a DROP TRIGGER statement.
executeConstantAction
public void executeConstantAction(org.apache.derby.iapi.sql.Activation activation)
throws org.apache.derby.iapi.error.StandardException
- This is the guts of the Execution-time logic for DROP STATEMENT.
dropTriggerDescriptor
static void dropTriggerDescriptor(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc,
org.apache.derby.iapi.sql.depend.DependencyManager dm,
org.apache.derby.iapi.sql.dictionary.DataDictionary dd,
org.apache.derby.iapi.store.access.TransactionController tc,
org.apache.derby.iapi.sql.dictionary.TriggerDescriptor triggerd,
org.apache.derby.iapi.sql.Activation activation)
throws org.apache.derby.iapi.error.StandardException
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
modifiesTableId
public boolean modifiesTableId(org.apache.derby.catalog.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 org.apache.derby.iapi.sql.execute.ConstantAction- Overrides:
modifiesTableId in class DDLConstantAction