public class GridSqlUnion extends GridSqlQuery
| Modifier and Type | Field and Description |
|---|---|
static int |
LEFT_CHILD |
static int |
RIGHT_CHILD |
LIMIT_CHILD, OFFSET_CHILD, sortlimit| Constructor and Description |
|---|
GridSqlUnion() |
| Modifier and Type | Method and Description |
|---|---|
<E extends GridSqlAst> |
child(int childIdx)
Get child by index.
|
<E extends GridSqlAst> |
child(int childIdx,
E child)
Set child.
|
protected GridSqlElement |
column(int col) |
String |
getSQL() |
GridSqlQuery |
left() |
void |
left(GridSqlQuery left) |
GridSqlQuery |
right() |
void |
right(GridSqlQuery right) |
boolean |
simpleQuery() |
int |
size() |
int |
unionType() |
void |
unionType(int unionType) |
protected int |
visibleColumns() |
addSort, child, clearSort, getSortLimitSQL, maskNull, offset, offset, resultType, sortpublic static final int LEFT_CHILD
public static final int RIGHT_CHILD
public <E extends GridSqlAst> E child(int childIdx)
child in interface GridSqlAstchild in class GridSqlQuerychildIdx - Index of the requested child.public <E extends GridSqlAst> void child(int childIdx, E child)
child in interface GridSqlAstchild in class GridSqlQuerychildIdx - Index of the requested child.child - Child element.public int size()
protected int visibleColumns()
visibleColumns in class GridSqlQueryprotected GridSqlElement column(int col)
column in class GridSqlQuerycol - Column index.public String getSQL()
getSQL in interface GridSqlAstgetSQL in class GridSqlStatementpublic boolean simpleQuery()
simpleQuery in class GridSqlQuerypublic int unionType()
public void unionType(int unionType)
unionType - New union type.public GridSqlQuery right()
public void right(GridSqlQuery right)
right - New right.public GridSqlQuery left()
public void left(GridSqlQuery left)
left - New left.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018