|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectparser.SimpleNode
parser.AST_Select
public class AST_Select
AST node for SELECT statements.
Field Summary | |
---|---|
boolean |
isDistinct
True if this is a DISTINCT selection; false otherwise. |
boolean |
isExplain
True if this is an EXPLAIN statement; false otherwise. |
Fields inherited from class parser.SimpleNode |
---|
children, id, parent, parser |
Constructor Summary | |
---|---|
AST_Select(int id)
|
|
AST_Select(MiniSql p,
int id)
|
Method Summary | |
---|---|
java.lang.String[] |
getColumns()
Gets the column names in the projection list (length 0 if '*'). |
SortKey[] |
getOrders()
Gets the columns to sort on. |
Predicate[][] |
getPredicates()
Gets the WHERE clause predicates in Conjunctive Normal Form (a.k.a. |
java.lang.String[] |
getTables()
Gets the tables to select from. |
Methods inherited from class parser.SimpleNode |
---|
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean isExplain
public boolean isDistinct
Constructor Detail |
---|
public AST_Select(int id)
public AST_Select(MiniSql p, int id)
Method Detail |
---|
public java.lang.String[] getColumns()
public java.lang.String[] getTables()
public Predicate[][] getPredicates()
public SortKey[] getOrders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |