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

pack-priv Class DropAliasConstantAction

extends DDLConstantAction
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.sql.dictionary.AliasDescriptor, .DataDictionary, .SchemaDescriptor, org.apache.derby.iapi.sql.execute.ConstantAction

This class performs actions that are ALWAYS performed for a DROP FUNCTION/PROCEDURE/SYNONYM statement at execution time. All of these SQL objects are represented by an AliasDescriptor.

Field Summary

Modifier and TypeField and Description
private final String
private final char
private SchemaDescriptor

Constructor Summary

AccessConstructor and Description
pack-priv
DropAliasConstantAction(SchemaDescriptor sd, String
Alias name.
aliasName
,
char
Alias name space.
nameSpace
)

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

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

aliasNameback to summary
private final String aliasName
nameSpaceback to summary
private final char nameSpace
sdback to summary
private SchemaDescriptor sd

Constructor Detail

DropAliasConstantActionback to summary
pack-priv DropAliasConstantAction(SchemaDescriptor sd, String aliasName, char nameSpace)

Make the ConstantAction for a DROP ALIAS statement.

Parameters
aliasName:String

Alias name.

nameSpace:char

Alias name space.

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

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