|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.OrderedColumn
public abstract class OrderedColumn
An ordered column has position. It is an abstract class for group by and order by columns.
| Field Summary | |
|---|---|
protected int |
columnPosition
|
protected static int |
UNMATCHEDPOSITION
|
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
OrderedColumn()
|
|
| Method Summary | |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
int |
getColumnPosition()
Get the position of this column |
boolean |
isAscending()
Indicate whether this column is ascending or not. |
boolean |
isNullsOrderedLow()
Indicate whether this column should be ordered NULLS low. |
void |
setColumnPosition(int columnPosition)
Set the position of this column |
String |
toString()
Convert this object to a String. |
| 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, printSubNodes, 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 |
| Field Detail |
|---|
protected static final int UNMATCHEDPOSITION
protected int columnPosition
| Constructor Detail |
|---|
public OrderedColumn()
| Method Detail |
|---|
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class QueryTreeNodeStandardExceptionpublic boolean isAscending()
public boolean isNullsOrderedLow()
public String toString()
toString in class QueryTreeNodepublic int getColumnPosition()
public void setColumnPosition(int columnPosition)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||