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

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.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
           
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
RUNTIMESTATISTICS, STATISTICSTIMING
 
Constructor Summary
(package private) 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
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

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


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