org.apache.derby.impl.sql.compile
Class SetTransactionIsolationNode
java.lang.Object
org.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.StatementNode
org.apache.derby.impl.sql.compile.TransactionStatementNode
org.apache.derby.impl.sql.compile.SetTransactionIsolationNode
- All Implemented Interfaces:
- Visitable
- public class SetTransactionIsolationNode
- extends TransactionStatementNode
A SetTransactionIsolationNode is the root of a QueryTree that represents a SET
TRANSACTION ISOLATION command
- Author:
- Jerry Brenner
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
accept, bind, convertDefaultNode, debugFlush, debugPrint, executeSchemaName, executeStatementName, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getRowEstimate, getSchemaDescriptor, getSchemaDescriptor, getSPSName, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, isSessionSchema, isSessionSchema, makeResultDescription, makeTableName, nodeHeader, optimize, parseQueryText, printLabel, printSubNodes, referencesSessionSchema, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, treePrint, treePrint, verifyClassExist |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isolationLevel
private int isolationLevel
SetTransactionIsolationNode
public SetTransactionIsolationNode()
init
public void init(java.lang.Object isolationLevel)
- Initializer for SetTransactionIsolationNode
- Overrides:
init
in class QueryTreeNode
- Parameters:
isolationLevel
- The new isolation level
toString
public java.lang.String toString()
- Convert this object to a String. See comments in QueryTreeNode.java
for how this should be done for tree printing.
- Overrides:
toString
in class StatementNode
- Returns:
- This object as a String
statementToString
public java.lang.String statementToString()
- Specified by:
statementToString
in class StatementNode
generate
public void generate(ActivationClassBuilder acb,
MethodBuilder mb)
throws StandardException
- generates a the code.
- Overrides:
generate
in class QueryTreeNode
- Parameters:
acb
- the activation class builder for this statementmb
- The method for the method to be built
- Throws:
StandardException
- thrown if generation fails
makeConstantAction
public ConstantAction makeConstantAction()
throws StandardException
- Create the Constant information that will drive the guts of Execution.
- Overrides:
makeConstantAction
in class QueryTreeNode
- Throws:
StandardException
- Thrown on failure
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.