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

pack-priv Class SetTransactionIsolationNode

extends TransactionStatementNode
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.ClassName, org.apache.derby.iapi.services.classfile.VMOpcode, org.apache.derby.iapi.services.compiler.MethodBuilder, org.apache.derby.iapi.services.context.ContextManager, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.sql.execute.ConstantAction

A SetTransactionIsolationNode is the root of a QueryTree that represents a SET TRANSACTION ISOLATION command

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv
SetTransactionIsolationNode(int
The new isolation level
isolationLevel
,
ContextManager
The context manager
cm
)

Constructor for SetTransactionIsolationNode

Method Summary

Modifier and TypeMethod and Description
pack-priv void
generate(ActivationClassBuilder
the activation class builder for this statement
acb
,
MethodBuilder
The method for the method to be built
mb
)

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.generate.

generates a the code.

public ConstantAction
makeConstantAction()

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.makeConstantAction.

Create the Constant information that will drive the guts of Execution.

pack-priv String
public String

Returns:

This object as a String
toString
()

Overrides org.apache.derby.impl.sql.compile.StatementNode.toString.

Convert this object to a String.

Inherited from org.apache.derby.impl.sql.compile.TransactionStatementNode:
activationKindisAtomicneedsSavepoint

Field Detail

isolationLevelback to summary
private int isolationLevel

Constructor Detail

SetTransactionIsolationNodeback to summary
pack-priv SetTransactionIsolationNode(int isolationLevel, ContextManager cm)

Constructor for SetTransactionIsolationNode

Parameters
isolationLevel:int

The new isolation level

cm:ContextManager

The context manager

Method Detail

generateback to summary
pack-priv void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.generate.

generates a the code.

Parameters
acb:ActivationClassBuilder

the activation class builder for this statement

mb:MethodBuilder

The method for the method to be built

Annotations
@Override
Exceptions
StandardException:
thrown if generation fails
makeConstantActionback to summary
public ConstantAction makeConstantAction() throws StandardException

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.makeConstantAction.

Create the Constant information that will drive the guts of Execution.

Annotations
@Override
Exceptions
StandardException:
Thrown on failure
statementToStringback to summary
pack-priv String statementToString()

Implements abstract org.apache.derby.impl.sql.compile.StatementNode.statementToString.

toStringback to summary
public String toString()

Overrides org.apache.derby.impl.sql.compile.StatementNode.toString.

Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.

Returns:String

This object as a String

Annotations
@Override