public abstract class GridSqlElement extends Object implements GridSqlAst
| Modifier | Constructor and Description |
|---|---|
protected |
GridSqlElement(List<GridSqlAst> children) |
| Modifier and Type | Method and Description |
|---|---|
GridSqlElement |
addChild(GridSqlAst expr) |
<E extends GridSqlAst> |
child()
Get the first child.
|
<E extends GridSqlAst> |
child(int idx)
Get child by index.
|
<E extends GridSqlAst> |
child(int idx,
E child)
Set child.
|
boolean |
equals(Object o) |
int |
hashCode() |
GridSqlType |
resultType() |
GridSqlElement |
resultType(GridSqlType type) |
int |
size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSQLprotected GridSqlElement(List<GridSqlAst> children)
children - Initial child list.public GridSqlType resultType()
resultType in interface GridSqlAstpublic GridSqlElement resultType(GridSqlType type)
type - Optional expression result type (if this is an expression and result type is known).this.public GridSqlElement addChild(GridSqlAst expr)
expr - Expr.this.public <E extends GridSqlAst> E child()
child in interface GridSqlAstpublic <E extends GridSqlAst> E child(int idx)
child in interface GridSqlAstidx - Index of the requested child.public <E extends GridSqlAst> void child(int idx, E child)
child in interface GridSqlAstidx - Index of the requested child.child - Child element.public int size()
size in interface GridSqlAst
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025