public class DistinctNode extends FromTable
correlationName, origTableName, tableProperties
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
DistinctNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
ResultSetNode |
getChildResult()
Return the childResult from this node.
|
void |
init(java.lang.Object childResult,
java.lang.Object tableProperties)
Initialilzer for a SingleChildResultSetNode.
|
void |
init(java.lang.Object childResult,
java.lang.Object inSortedOrder,
java.lang.Object tableProperties)
Initializer for a DistinctNode.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
getCorrelationName, getExposedName, getOrigTableName, getTableName, setCorrelationName, setOrigTableName, toString
getResultColumns, setInsertSource, setResultColumns
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
public void init(java.lang.Object childResult, java.lang.Object inSortedOrder, java.lang.Object tableProperties) throws StandardException
init
in class QueryTreeNode
childResult
- The child ResultSetNodeinSortedOrder
- Whether or not the child ResultSetNode returns its
output in sorted order.tableProperties
- Properties list associated with the tableStandardException
- Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
StandardException
public void init(java.lang.Object childResult, java.lang.Object tableProperties)
public ResultSetNode getChildResult()
public void printSubNodes(int depth)
printSubNodes
in class ResultSetNode
depth
- The depth of this node in the treeCopyright © 2013. All Rights Reserved.