public abstract class GridSqlQuery extends GridSqlStatement implements GridSqlAst
| Modifier and Type | Field and Description |
|---|---|
static int |
LIMIT_CHILD |
static int |
OFFSET_CHILD |
protected List<GridSqlSortColumn> |
sort |
limit| Constructor and Description |
|---|
GridSqlQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSort(GridSqlSortColumn sortCol) |
<E extends GridSqlAst> |
child()
Get the first child.
|
<E extends GridSqlAst> |
child(int childIdx)
Get child by index.
|
<E extends GridSqlAst> |
child(int childIdx,
E child)
Set child.
|
void |
clearSort() |
protected abstract GridSqlAst |
column(int col) |
protected void |
getSortLimitSQL(org.h2.util.StatementBuilder buff) |
protected static <E extends GridSqlAst> |
maskNull(GridSqlAst x,
GridSqlAst dflt) |
GridSqlAst |
offset() |
void |
offset(GridSqlAst offset) |
GridSqlType |
resultType() |
abstract boolean |
simpleQuery() |
List<GridSqlSortColumn> |
sort() |
protected abstract int |
visibleColumns() |
explain, explain, getSQL, limit, limit, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSQL, sizepublic static final int OFFSET_CHILD
public static final int LIMIT_CHILD
protected List<GridSqlSortColumn> sort
public GridSqlAst offset()
public void offset(GridSqlAst offset)
offset - Offset.public List<GridSqlSortColumn> sort()
public void clearSort()
public void addSort(GridSqlSortColumn sortCol)
sortCol - The sort column.protected abstract int visibleColumns()
protected abstract GridSqlAst column(int col)
col - Column index.public GridSqlType resultType()
resultType in interface GridSqlAstpublic <E extends GridSqlAst> E child()
child in interface GridSqlAstpublic <E extends GridSqlAst> E child(int childIdx)
child in interface GridSqlAstchildIdx - Index of the requested child.protected static <E extends GridSqlAst> E maskNull(GridSqlAst x, GridSqlAst dflt)
x - Element.null.public <E extends GridSqlAst> void child(int childIdx, E child)
child in interface GridSqlAstchildIdx - Index of the requested child.child - Child element.public abstract boolean simpleQuery()
protected void getSortLimitSQL(org.h2.util.StatementBuilder buff)
buff - Statement builder.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018