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

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.DDLConstantAction
      extended by org.apache.derby.impl.sql.execute.SavepointConstantAction
All Implemented Interfaces:
ConstantAction

 class SavepointConstantAction
extends DDLConstantAction

This class describes actions that are ALWAYS performed for a Savepoint (rollback, release and set savepoint) Statement at Execution time.


Field Summary
private  java.lang.String savepointName
           
private  int savepointStatementType
           
 
Constructor Summary
SavepointConstantAction(java.lang.String savepointName, int savepointStatementType)
          Make the ConstantAction for a set savepoint, rollback or release statement.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for CREATE TABLE.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

savepointName

private final java.lang.String savepointName

savepointStatementType

private final int savepointStatementType
Constructor Detail

SavepointConstantAction

SavepointConstantAction(java.lang.String savepointName,
                        int savepointStatementType)
Make the ConstantAction for a set savepoint, rollback or release statement.

Parameters:
savepointName - Name of the savepoint.
savepointStatementType - set savepoint, rollback savepoint or release savepoint
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

executeConstantAction

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

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 Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.