public class SQLQuery extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
distinct |
protected SQLExpressionIF |
filter |
protected int |
limit |
protected int |
offset |
protected List |
orderby |
protected List |
select |
Constructor and Description |
---|
SQLQuery() |
Modifier and Type | Method and Description |
---|---|
void |
addAscending(SQLAggregateIF aggregate) |
void |
addAscending(SQLValueIF value) |
void |
addDescending(SQLAggregateIF aggregate) |
void |
addDescending(SQLValueIF value) |
void |
addOrderBy(SQLOrderBy sob) |
void |
addSelect(SQLAggregateIF aggregate) |
void |
addSelect(SQLValueIF value) |
boolean |
getDistinct() |
SQLExpressionIF |
getFilter() |
int |
getLimit() |
int |
getOffset() |
List |
getOrderBy() |
List |
getSelect() |
int |
getWidth() |
boolean |
isSetQuery() |
void |
setDistinct(boolean distinct) |
void |
setFilter(SQLExpressionIF filter) |
void |
setLimit(int limit) |
void |
setOffset(int offset) |
String |
toString() |
protected List select
protected boolean distinct
protected int limit
protected int offset
protected SQLExpressionIF filter
protected List orderby
public boolean isSetQuery()
public boolean getDistinct()
public void setDistinct(boolean distinct)
public int getLimit()
public void setLimit(int limit)
public int getOffset()
public void setOffset(int offset)
public List getSelect()
public void addSelect(SQLValueIF value)
public void addSelect(SQLAggregateIF aggregate)
public int getWidth()
public List getOrderBy()
public void addOrderBy(SQLOrderBy sob)
public void addAscending(SQLValueIF value)
public void addDescending(SQLValueIF value)
public void addAscending(SQLAggregateIF aggregate)
public void addDescending(SQLAggregateIF aggregate)
public SQLExpressionIF getFilter()
public void setFilter(SQLExpressionIF filter)