org.apache.derby.impl.sql.execute
Class DropTriggerConstantAction

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.DDLConstantAction
      extended by org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
          extended by 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
private  SchemaDescriptor sd
           
private  java.lang.String triggerName
           
 
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
 
Constructor Summary
DropTriggerConstantAction(SchemaDescriptor sd, java.lang.String triggerName, UUID tableId)
          Make the ConstantAction for a DROP TRIGGER statement.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 Trigger
tableId - 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 class java.lang.Object

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.