com.akiban.sql.parser
Class StatementNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.StatementNode
All Implemented Interfaces:
Visitable
Direct Known Subclasses:
CloseStatementNode, CopyStatementNode, DDLStatementNode, DeallocateStatementNode, DeclareStatementNode, DMLStatementNode, ExecuteStatementNode, ExplainStatementNode, FetchStatementNode, MiscellaneousStatementNode, NOPStatementNode, PrepareStatementNode, SetConfigurationNode, SetTransactionAccessNode, SetTransactionIsolationNode, TransactionControlNode

public abstract class StatementNode
extends QueryTreeNode

A StatementNode represents a single statement in the language. It is the top node for any statement.

StatementNode controls the class generation for query tree nodes.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
StatementNode()
           
 
Method Summary
abstract  String statementToString()
           
 String toString()
          Convert this object to a String.
 
Methods inherited from class com.akiban.sql.parser.QueryTreeNode
accept, convertDefaultNode, copyFrom, 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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatementNode

public StatementNode()
Method Detail

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 QueryTreeNode
Returns:
This object as a String

statementToString

public abstract String statementToString()


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.