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) |
int |
size() |
boolean |
skipMergeTable() |
org.gridgain.internal.h2.command.dml.SelectUnion.UnionType |
unionType() |
void |
unionType(org.gridgain.internal.h2.command.dml.SelectUnion.UnionType unionType) |
protected int |
visibleColumns() |
addSort, child, clearSort, getSortLimitSQL, hasOffsetLimit, 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 skipMergeTable()
skipMergeTable in class GridSqlQuerypublic org.gridgain.internal.h2.command.dml.SelectUnion.UnionType unionType()
public void unionType(org.gridgain.internal.h2.command.dml.SelectUnion.UnionType 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 Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025