org.apache.derby.impl.sql.execute
Class SavepointConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
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.
Constructor Summary |
SavepointConstantAction(java.lang.String savepointName,
int savepointStatementType)
Make the ConstantAction for a set savepoint, rollback or release statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
savepointName
private final java.lang.String savepointName
savepointStatementType
private final int savepointStatementType
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
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)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.