public abstract class GridSqlQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
distinct |
protected GridSqlElement |
limit |
protected GridSqlElement |
offset |
protected List<GridSqlSortColumn> |
sort |
| Constructor and Description |
|---|
GridSqlQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSort(GridSqlSortColumn sortCol) |
void |
clearSort() |
protected abstract GridSqlElement |
column(int col) |
boolean |
distinct() |
void |
distinct(boolean distinct) |
boolean |
explain() |
GridSqlQuery |
explain(boolean explain) |
protected void |
getSortLimitSQL(org.h2.util.StatementBuilder buff) |
abstract String |
getSQL() |
GridSqlElement |
limit() |
void |
limit(GridSqlElement limit) |
GridSqlElement |
offset() |
void |
offset(GridSqlElement offset) |
List<GridSqlSortColumn> |
sort() |
protected abstract int |
visibleColumns() |
protected boolean distinct
protected List<GridSqlSortColumn> sort
protected GridSqlElement offset
protected GridSqlElement limit
public GridSqlQuery explain(boolean explain)
explain - Explain.this.public boolean explain()
true If explain.public GridSqlElement offset()
public void offset(GridSqlElement offset)
offset - Offset.public void limit(GridSqlElement limit)
limit - Limit.public GridSqlElement limit()
public boolean distinct()
public void distinct(boolean distinct)
distinct - New distinct.public abstract String getSQL()
public List<GridSqlSortColumn> sort()
public void clearSort()
public void addSort(GridSqlSortColumn sortCol)
sortCol - The sort column.protected abstract int visibleColumns()
protected abstract GridSqlElement column(int col)
col - Column index.protected void getSortLimitSQL(org.h2.util.StatementBuilder buff)
buff - Statement builder.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016