com.akiban.sql.parser
Class RowsResultSetNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ResultSetNode
com.akiban.sql.parser.FromTable
com.akiban.sql.parser.RowsResultSetNode
- All Implemented Interfaces:
- Visitable
public class RowsResultSetNode
- extends FromTable
A RowsResultSetNode represents the result set for a multi row VALUES clause.
| 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, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
RowsResultSetNode
public RowsResultSetNode()
init
public void init(Object firstRow)
throws StandardException
- Initializer for a RowsResultSetNode.
- Overrides:
init in class QueryTreeNode
- Parameters:
firstRow - The initial row.
- Throws:
StandardException - Thrown on error
getRows
public List<RowResultSetNode> getRows()
addRow
public void addRow(RowResultSetNode row)
statementToString
public String statementToString()
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class FromTable
- Throws:
StandardException
printSubNodes
public void printSubNodes(int depth)
- Prints the sub-nodes of this object. See QueryTreeNode.java for
how tree printing is supposed to work.
- Overrides:
printSubNodes in class ResultSetNode
- Parameters:
depth - The depth of this node in the tree
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.