public interface QueryPlanner
BeamRelNode
or
SqlNode
.Modifier and Type | Interface and Description |
---|---|
static class |
QueryPlanner.QueryParameters |
Modifier and Type | Method and Description |
---|---|
BeamRelNode |
convertToBeamRel(java.lang.String sqlStatement,
QueryPlanner.QueryParameters queryParameters)
It parses and validate the input query, then convert into a
BeamRelNode tree. |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
parse(java.lang.String sqlStatement)
Parse input SQL query, and return a
SqlNode as grammar tree. |
BeamRelNode convertToBeamRel(java.lang.String sqlStatement, QueryPlanner.QueryParameters queryParameters) throws ParseException, SqlConversionException
BeamRelNode
tree.ParseException
SqlConversionException
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode parse(java.lang.String sqlStatement) throws ParseException
SqlNode
as grammar tree.ParseException