public class ZetaSQLPlannerImpl
extends java.lang.Object
implements org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
Constructor and Description |
---|
ZetaSQLPlannerImpl(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.FrameworkConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode |
convert(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.plan.RelTraitSet |
getEmptyTraitSet() |
static com.google.zetasql.LanguageOptions |
getLanguageOptions() |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataTypeFactory |
getTypeFactory() |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
parse(java.io.Reader reader) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
parse(java.lang.String s) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelRoot |
rel(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelRoot |
rel(java.lang.String sql,
QueryPlanner.QueryParameters params) |
void |
reset() |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode |
transform(int i,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.plan.RelTraitSet relTraitSet,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode relNode) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
validate(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.util.Pair<org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode,org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType> |
validateAndGetType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) |
public ZetaSQLPlannerImpl(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.FrameworkConfig config)
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode parse(java.lang.String s) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.parser.SqlParseException
parse
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.parser.SqlParseException
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode parse(java.io.Reader reader) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.parser.SqlParseException
parse
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.parser.SqlParseException
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode validate(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.ValidationException
validate
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.ValidationException
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.util.Pair<org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode,org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType> validateAndGetType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.ValidationException
validateAndGetType
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.ValidationException
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelRoot rel(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.RelConversionException
rel
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.RelConversionException
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelRoot rel(java.lang.String sql, QueryPlanner.QueryParameters params)
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode convert(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode sqlNode)
convert
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataTypeFactory getTypeFactory()
getTypeFactory
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode transform(int i, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.plan.RelTraitSet relTraitSet, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode relNode) throws org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.RelConversionException
transform
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.RelConversionException
public void reset()
reset
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
public void close()
close
in interface java.lang.AutoCloseable
close
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.plan.RelTraitSet getEmptyTraitSet()
getEmptyTraitSet
in interface org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.tools.Planner
public static com.google.zetasql.LanguageOptions getLanguageOptions()