com.akiban.sql.parser
Class ValueNodeList

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.QueryTreeNodeList<ValueNode>
          extended by com.akiban.sql.parser.ValueNodeList
All Implemented Interfaces:
Visitable, Iterable<ValueNode>

public class ValueNodeList
extends QueryTreeNodeList<ValueNode>

A ValueNodeList represents a list of ValueNodes within a specific predicate (eg, IN list, NOT IN list or BETWEEN) in a DML statement. It extends QueryTreeNodeList.


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
ValueNodeList()
           
 
Method Summary
 void addValueNode(ValueNode valueNode)
          Add a ValueNode to the list.
 boolean isConstantExpression()
          Return whether or not this expression tree represents a constant expression.
 
Methods inherited from class com.akiban.sql.parser.QueryTreeNodeList
add, add, addAll, clear, copyFrom, destructiveAddAll, get, getList, indexOf, isEmpty, iterator, printSubNodes, remove, remove, set, size
 
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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, toString, treePrint, treePrint, treePrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueNodeList

public ValueNodeList()
Method Detail

addValueNode

public void addValueNode(ValueNode valueNode)
                  throws StandardException
Add a ValueNode to the list.

Parameters:
valueNode - A ValueNode to add to the list
Throws:
StandardException - Thrown on error

isConstantExpression

public boolean isConstantExpression()
Return whether or not this expression tree represents a constant expression.

Returns:
Whether or not this expression tree represents a constant expression.


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