com.akiban.sql.parser
Class RowsResultSetNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ResultSetNode
          extended by com.akiban.sql.parser.FromTable
              extended by 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.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.FromTable
correlationName, origTableName, tableProperties
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
RowsResultSetNode()
           
 
Method Summary
 void addRow(RowResultSetNode row)
           
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 List<RowResultSetNode> getRows()
           
 void init(Object firstRow)
          Initializer for a RowsResultSetNode.
 void printSubNodes(int depth)
          Prints the sub-nodes of this object.
 String statementToString()
           
 
Methods inherited from class com.akiban.sql.parser.FromTable
getCorrelationName, getExposedName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableName, toString
 
Methods inherited from class com.akiban.sql.parser.ResultSetNode
getResultColumns, setInsertSource, setResultColumns
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowsResultSetNode

public RowsResultSetNode()
Method Detail

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.