public class SelectNode extends ResultSetNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
SelectNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDistinct() |
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
Boolean |
getCacheHint() |
FromList |
getFromList()
Return the fromList for this SelectNode.
|
GroupByList |
getGroupByList() |
ValueNode |
getHavingClause() |
ValueNode |
getWhereClause()
Return the whereClause for this SelectNode.
|
WindowList |
getWindows() |
boolean |
hasWindows()
Used by SubqueryNode to avoid flattening of a subquery if a window is
defined on it.
|
void |
init(Object selectList,
Object aggregateList,
Object fromList,
Object whereClause,
Object groupByList,
Object havingClause,
Object windowDefinitionList)
Initialize a query tree node.
|
boolean |
isDistinct() |
boolean |
isStraightJoin() |
void |
makeDistinct() |
void |
makeStraightJoin() |
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setCacheHint(Boolean cacheHint) |
void |
setHavingClause(ValueNode havingClause) |
void |
setWhereClause(ValueNode whereClause) |
String |
statementToString() |
String |
toString()
Convert this object to a String.
|
getResultColumns, setInsertSource, setResultColumnsaccept, 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, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrintpublic void init(Object selectList, Object aggregateList, Object fromList, Object whereClause, Object groupByList, Object havingClause, Object windowDefinitionList) throws StandardException
QueryTreeNodeinit in class QueryTreeNodeStandardException - Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom in class ResultSetNodeStandardExceptionpublic String toString()
toString in class ResultSetNodepublic String statementToString()
public void makeDistinct()
public void clearDistinct()
public boolean isDistinct()
public void makeStraightJoin()
public boolean isStraightJoin()
public void setCacheHint(Boolean cacheHint)
public Boolean getCacheHint()
public void printSubNodes(int depth)
printSubNodes in class ResultSetNodedepth - The depth of this node in the treepublic FromList getFromList()
public ValueNode getWhereClause()
public void setWhereClause(ValueNode whereClause)
public GroupByList getGroupByList()
public ValueNode getHavingClause()
public void setHavingClause(ValueNode havingClause)
public boolean hasWindows()
public WindowList getWindows()
Copyright © 2015 FoundationDB, LLC. All rights reserved.