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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
savepointName
private int
savepointStatementType
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description SavepointConstantAction(java.lang.String savepointName, int savepointStatementType)
Make the ConstantAction for a set savepoint, rollback or release statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classjava.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)
-
-