parser
Class AST_OrderBy
java.lang.Object
parser.SimpleNode
parser.AST_OrderBy
- All Implemented Interfaces:
- Node
public class AST_OrderBy
- extends SimpleNode
AST node for ORDER BY clauses.
Field Summary |
protected java.util.ArrayList<java.lang.Boolean> |
descs
Which columns are DESC. |
protected java.util.ArrayList<java.lang.String> |
names
Names of the columns. |
Method Summary |
protected void |
addName(java.lang.String name)
Adds a new column name to the list. |
protected void |
setDesc()
Sets the DESC state of the last column name added. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
names
protected java.util.ArrayList<java.lang.String> names
- Names of the columns.
descs
protected java.util.ArrayList<java.lang.Boolean> descs
- Which columns are DESC.
AST_OrderBy
public AST_OrderBy(int id)
AST_OrderBy
public AST_OrderBy(MiniSql p,
int id)
addName
protected void addName(java.lang.String name)
- Adds a new column name to the list.
setDesc
protected void setDesc()
- Sets the DESC state of the last column name added.