public class OrderByColumn extends OrderedColumn
columnPosition, UNMATCHEDPOSITION
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
OrderByColumn() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
ValueNode |
getExpression() |
void |
init(java.lang.Object expression)
Initializer.
|
boolean |
isAscending()
Get the column order.
|
boolean |
isNullsOrderedLow()
Get the column NULL ordering.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setDescending()
Mark the column as descending order
|
void |
setNullsOrderedLow()
Mark the column as ordered NULL values lower than non-NULL values.
|
java.lang.String |
toString()
Convert this object to a String.
|
getColumnPosition, setColumnPosition
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, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object expression)
init
in class QueryTreeNode
expression
- Expression of this columnpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class OrderedColumn
StandardException
public java.lang.String toString()
toString
in class OrderedColumn
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treepublic ValueNode getExpression()
public void setDescending()
public boolean isAscending()
isAscending
in class OrderedColumn
public void setNullsOrderedLow()
public boolean isNullsOrderedLow()
isNullsOrderedLow
in class OrderedColumn
Copyright © 2013. All Rights Reserved.