public static class CalcitePrepare.ParseResult extends Object
| Modifier and Type | Field and Description |
|---|---|
CalcitePrepareImpl |
prepare |
RelDataType |
rowType |
String |
sql |
SqlNode |
sqlNode |
RelDataTypeFactory |
typeFactory |
| Constructor and Description |
|---|
ParseResult(CalcitePrepareImpl prepare,
SqlValidator validator,
String sql,
SqlNode sqlNode,
RelDataType rowType) |
public final CalcitePrepareImpl prepare
public final String sql
public final SqlNode sqlNode
public final RelDataType rowType
public final RelDataTypeFactory typeFactory
public ParseResult(CalcitePrepareImpl prepare, SqlValidator validator, String sql, SqlNode sqlNode, RelDataType rowType)
public SqlKind kind()
Possibilities include:
SqlKind.SELECT, but
other query operators such as SqlKind.UNION and
SqlKind.ORDER_BY are possible
SqlKind.INSERT, SqlKind.UPDATE etc.
SqlKind.COMMIT
SqlKind.CREATE_TABLE,
SqlKind.DROP_INDEX
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.