public class SelectQuery
extends java.lang.Object
Constructor and Description |
---|
SelectQuery(NamedList<TableAlias> tables,
QueryCondition qd) |
Modifier and Type | Method and Description |
---|---|
QueryCondition |
getQueryCondition()
query condition
|
TableAlias |
getTable(int index) |
int |
getTableNumber()
returns the number of table aliases in the query
|
public SelectQuery(NamedList<TableAlias> tables, QueryCondition qd)
tables
- qd
- query condition on objects in the table or joinpublic int getTableNumber()
public TableAlias getTable(int index)
index
- a number between 0 (included) and getTableNumber (excluded)public QueryCondition getQueryCondition()