com.akiban.sql.parser
Class SetTransactionAccessNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.StatementNode
com.akiban.sql.parser.SetTransactionAccessNode
- All Implemented Interfaces:
- Visitable
public class SetTransactionAccessNode
- extends StatementNode
A SetTransactionAccessNode is the root of a QueryTree that represents a SET
TRANSACTION READ ONLY / WRITE command
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
SetTransactionAccessNode
public SetTransactionAccessNode()
init
public void init(Object current,
Object accessMode)
- Initializer for SetTransactionAccessNode
- Overrides:
init in class QueryTreeNode
- Parameters:
current - Whether applies to current transaction or session defaultisolationLevel - The new isolation level
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class QueryTreeNode
- Throws:
StandardException
toString
public 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
isCurrent
public boolean isCurrent()
getAccessMode
public AccessMode getAccessMode()
statementToString
public String statementToString()
- Specified by:
statementToString in class StatementNode
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.