Package mdbtools.dbengine.sql
Class Select
java.lang.Object
mdbtools.dbengine.sql.Select
- All Implemented Interfaces:
SQL
Select is the parse tree for a select sql statement.
A simple select is handled by:
converting a from clause to Data
applying the where clause
returning Data as the result
In the case of an aggregate the above is done to get the data
then the aggregate functions are exectuted to filter the data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddGroupBy(FQColumn column) voidvoidgetColumn(int index) intgetGroupBy(int index) intgetOrderBy(int index) intgetTable(int index) intgetWhere()voidtoString()
-
Constructor Details
-
Select
public Select()
-
-
Method Details
-
toString
-
getColumnCount
public int getColumnCount() -
getColumn
-
getTableCount
public int getTableCount() -
getTable
-
addColumn
-
addTable
-
addGroupBy
-
getGroupByCount
public int getGroupByCount() -
getGroupBy
-
addOrderBy
-
getOrderByCount
public int getOrderByCount() -
getOrderBy
-
setWhere
-
getWhere
-