Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

public Class DropTriggerConstantAction

extends DDLSingleTableConstantAction
Class Inheritance
Imports
org.apache.derby.catalog.UUID, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.sql.depend.DependencyManager, org.apache.derby.iapi.sql.dictionary.DataDictionary, .SPSDescriptor, .SchemaDescriptor, .TableDescriptor, .TriggerDescriptor, org.apache.derby.iapi.sql.execute.ConstantAction, org.apache.derby.iapi.store.access.TransactionController

This class describes actions that are ALWAYS performed for a DROP TRIGGER Statement at Execution time.

Field Summary

Modifier and TypeField and Description
private final SchemaDescriptor
private final String
Inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction:
tableId

Constructor Summary

AccessConstructor and Description
pack-priv
DropTriggerConstantAction(SchemaDescriptor
Schema that stored prepared statement lives in.
sd
,
String
Name of the Trigger
triggerName
,
UUID
The table upon which the trigger is defined
tableId
)

Make the ConstantAction for a DROP TRIGGER statement.

Method Summary

Modifier and TypeMethod and Description
public void
executeConstantAction(Activation
The execution environment for this constant action.
activation
)

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for DROP STATEMENT.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction:
dropConglomeratedropConglomeratedropConstraintdropConstraintdropConstraintexecuteConglomReplacementgetConglomReplacementActionrecreateUniqueConstraintBackingIndexAsUniqueWhenNotNull

Field Detail

sdback to summary
private final SchemaDescriptor sd
triggerNameback to summary
private final String triggerName

Constructor Detail

DropTriggerConstantActionback to summary
pack-priv DropTriggerConstantAction(SchemaDescriptor sd, String triggerName, UUID tableId)

Make the ConstantAction for a DROP TRIGGER statement.

Parameters
sd:SchemaDescriptor

Schema that stored prepared statement lives in.

triggerName:String

Name of the Trigger

tableId:UUID

The table upon which the trigger is defined

Method Detail

executeConstantActionback to summary
public void executeConstantAction(Activation activation) throws StandardException

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for DROP STATEMENT.

Parameters
activation:Activation

Doc from org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

The execution environment for this constant action.

Exceptions
StandardException:
Thrown on failure
See Also
ConstantAction#executeConstantAction
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object