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(StringBuilder buff) |
boolean |
hasOffsetLimit()
Whether offset or limit exists.
|
protected static <E extends GridSqlAst> |
maskNull(GridSqlAst x,
GridSqlAst dflt) |
GridSqlAst |
offset() |
void |
offset(GridSqlAst offset) |
GridSqlType |
resultType() |
abstract boolean |
skipMergeTable() |
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 skipMergeTable()
protected void getSortLimitSQL(StringBuilder buff)
buff - Statement builder.public boolean hasOffsetLimit()
true If we have OFFSET LIMIT.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025