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

pack-priv Class DropAliasNode

extends DDLStatementNode
Class Inheritance
Imports
org.apache.derby.catalog.AliasInfo, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.services.context.ContextManager, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.sql.dictionary.AliasDescriptor, .DataDictionary, .SchemaDescriptor, org.apache.derby.iapi.sql.execute.ConstantAction

A DropAliasNode represents a DROP ALIAS statement.

Field Summary

Modifier and TypeField and Description
private char
private char
Inherited from org.apache.derby.impl.sql.compile.DDLStatementNode:
ADD_TYPEDROP_STATISTICSDROP_TYPEimplicitCreateSchemaLOCKING_TYPEMODIFY_TYPEUNKNOWN_TYPEUPDATE_STATISTICS

Constructor Summary

AccessConstructor and Description
pack-priv
DropAliasNode(TableName
The name of the method alias being dropped
dropAliasName
,
char
Alias type
aliasType
,
ContextManager
Context manager
cm
)

Constructor for a DropAliasNode

Method Summary

Modifier and TypeMethod and Description
private static String
aliasTypeName(char actualType)

public void
public char
public ConstantAction
makeConstantAction()

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.makeConstantAction.

Create the Constant information that will drive the guts of Execution.

pack-priv String
Inherited from org.apache.derby.impl.sql.compile.DDLStatementNode:
acceptChildrenactivationKindgenerategetFullNamegetObjectNamegetRelativeNamegetSchemaDescriptorgetSchemaDescriptorgetTableDescriptorgetTableDescriptorgetTableDescriptorgetTableDescriptorinitAndCheckisAtomicmakeFromListtoString

Field Detail

aliasTypeback to summary
private char aliasType
nameSpaceback to summary
private char nameSpace

Constructor Detail

DropAliasNodeback to summary
pack-priv DropAliasNode(TableName dropAliasName, char aliasType, ContextManager cm) throws StandardException

Constructor for a DropAliasNode

Parameters
dropAliasName:TableName

The name of the method alias being dropped

aliasType:char

Alias type

cm:ContextManager

Context manager

Method Detail

aliasTypeNameback to summary
private static String aliasTypeName(char actualType)
bindStatementback to summary
public void bindStatement() throws StandardException

Overrides org.apache.derby.impl.sql.compile.StatementNode.bindStatement.

Bind this DropMethodAliasNode.

Annotations
@Override
Exceptions
StandardException:
Thrown on error
getAliasTypeback to summary
public char getAliasType()
makeConstantActionback to summary
public ConstantAction makeConstantAction() throws StandardException

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.makeConstantAction.

Create the Constant information that will drive the guts of Execution.

Annotations
@Override
Exceptions
StandardException:
Thrown on failure
statementToStringback to summary
pack-priv String statementToString()

Implements abstract org.apache.derby.impl.sql.compile.StatementNode.statementToString.