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

pack-priv Class DropSequenceConstantAction

extends DDLConstantAction
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, 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, .SequenceDescriptor, .SchemaDescriptor, org.apache.derby.iapi.store.access.TransactionController, org.apache.derby.shared.common.reference.SQLState

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

Field Summary

Modifier and TypeField and Description
private final SchemaDescriptor
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
DropSequenceConstantAction(SchemaDescriptor sd, String
sequence name to be dropped
sequenceName
)

Make the ConstantAction for a DROP SEQUENCE 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 SEQUENCE.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.DDLConstantAction:
addColumnDependenciesadjustUDTDependenciesadjustUDTDependenciesconstructToStringgetAndCheckSchemaDescriptorgetSchemaDescriptorForCreatelockTableForDDLstoreConstraintDependenciesOnPrivilegesstoreViewTriggerDependenciesOnPrivileges

Field Detail

schemaDescriptorback to summary
private final SchemaDescriptor schemaDescriptor
sequenceNameback to summary
private final String sequenceName

Constructor Detail

DropSequenceConstantActionback to summary
pack-priv DropSequenceConstantAction(SchemaDescriptor sd, String sequenceName)

Make the ConstantAction for a DROP SEQUENCE statement.

Parameters
sequenceName:String

sequence name to be dropped

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 SEQUENCE.

Parameters
activation:Activation

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

The execution environment for this constant action.

Exceptions
StandardException:

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

Thrown on failure

See Also
org.apache.derby.iapi.sql.execute.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