Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

pack-priv Class SavepointConstantAction

extends DDLConstantAction
Class Inheritance
Imports
org.apache.derby.iapi.sql.execute.ConstantAction, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, .StatementContext, org.apache.derby.iapi.sql.Activation, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState

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

Field Summary

Modifier and TypeField and Description
private final String
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
SavepointConstantAction(String
Name of the savepoint.
savepointName
,
int
set savepoint, rollback savepoint or release savepoint
savepointStatementType
)

Make the ConstantAction for a set savepoint, rollback or release statement.

Method Summary

Modifier and TypeMethod and Description
public void
executeConstantAction(Activation
The execution environment for this constant action.
activation
)

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for CREATE TABLE.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.DDLConstantAction:
addColumnDependenciesadjustUDTDependenciesadjustUDTDependenciesconstructToStringgetAndCheckSchemaDescriptorgetSchemaDescriptorForCreatelockTableForDDLstoreConstraintDependenciesOnPrivilegesstoreViewTriggerDependenciesOnPrivileges

Field Detail

savepointNameback to summary
private final String savepointName
savepointStatementTypeback to summary
private final int savepointStatementType

Constructor Detail

SavepointConstantActionback to summary
pack-priv SavepointConstantAction(String savepointName, int savepointStatementType)

Make the ConstantAction for a set savepoint, rollback or release statement.

Parameters
savepointName:String

Name of the savepoint.

savepointStatementType:int

set savepoint, rollback savepoint or release savepoint

Method Detail

executeConstantActionback to summary
public void executeConstantAction(Activation activation) throws StandardException

Implements org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

This is the guts of the Execution-time logic for CREATE TABLE.

Parameters
activation:Activation

Doc from org.apache.derby.iapi.sql.execute.ConstantAction.executeConstantAction.

The execution environment for this constant action.

Exceptions
StandardException:
Thrown on failure
See Also
ConstantAction#executeConstantAction
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object