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

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.GenericConstantAction
      extended byorg.apache.derby.impl.sql.execute.DDLConstantAction
          extended byorg.apache.derby.impl.sql.execute.DropAliasConstantAction
All Implemented Interfaces:
ConstantAction

class DropAliasConstantAction
extends DDLConstantAction

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

Author:
Jerry Brenner.

Field Summary
private  java.lang.String aliasName
           
private  char nameSpace
           
private  java.lang.String schemaName
           
private  SchemaDescriptor sd
           
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
RUNTIMESTATISTICS, STATISTICSTIMING
 
Constructor Summary
(package private) DropAliasConstantAction(SchemaDescriptor sd, java.lang.String aliasName, char nameSpace)
          Make the ConstantAction for a DROP ALIAS statement.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for DROP ALIAS.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, modifiesTableId, readExternal, upToDate, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sd

private SchemaDescriptor sd

schemaName

private final java.lang.String schemaName

aliasName

private final java.lang.String aliasName

nameSpace

private final char nameSpace
Constructor Detail

DropAliasConstantAction

DropAliasConstantAction(SchemaDescriptor sd,
                        java.lang.String aliasName,
                        char nameSpace)
Make the ConstantAction for a DROP ALIAS statement.

Parameters:
aliasName - Alias name.
nameSpace - Alias name space.
Method Detail

toString

public java.lang.String toString()

executeConstantAction

public void executeConstantAction(Activation activation)
                           throws StandardException
This is the guts of the Execution-time logic for DROP ALIAS.

Parameters:
activation - The execution environment for this constant action.
Throws:
StandardException - Thrown on failure
See Also:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.