public class FlinkPlannerImpl extends Object
Modifier and Type | Class and Description |
---|---|
class |
FlinkPlannerImpl.ViewExpanderImpl
Implements
RelOptTable.ViewExpander
interface for Planner . |
Constructor and Description |
---|
FlinkPlannerImpl(org.apache.calcite.tools.FrameworkConfig config,
org.apache.calcite.plan.RelOptPlanner planner,
FlinkTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql2rel.SqlRexConvertletTable |
convertletTable() |
org.apache.calcite.schema.SchemaPlus |
defaultSchema() |
org.apache.calcite.sql.SqlOperatorTable |
operatorTable() |
org.apache.calcite.sql.SqlNode |
parse(String sql) |
org.apache.calcite.sql.parser.SqlParser.Config |
parserConfig() |
org.apache.calcite.rel.RelRoot |
rel(org.apache.calcite.sql.SqlNode sql) |
org.apache.calcite.rel.RelRoot |
root() |
com.google.common.collect.ImmutableList<org.apache.calcite.plan.RelTraitDef<? extends org.apache.calcite.plan.RelTrait>> |
traitDefs()
Holds the trait definitions to be registered with planner.
|
org.apache.calcite.sql.SqlNode |
validate(org.apache.calcite.sql.SqlNode sqlNode) |
org.apache.calcite.sql.SqlNode |
validatedSqlNode() |
FlinkCalciteSqlValidator |
validator() |
public FlinkPlannerImpl(org.apache.calcite.tools.FrameworkConfig config, org.apache.calcite.plan.RelOptPlanner planner, FlinkTypeFactory typeFactory)
public org.apache.calcite.sql.SqlOperatorTable operatorTable()
public com.google.common.collect.ImmutableList<org.apache.calcite.plan.RelTraitDef<? extends org.apache.calcite.plan.RelTrait>> traitDefs()
public org.apache.calcite.sql.parser.SqlParser.Config parserConfig()
public org.apache.calcite.sql2rel.SqlRexConvertletTable convertletTable()
public org.apache.calcite.schema.SchemaPlus defaultSchema()
public FlinkCalciteSqlValidator validator()
public org.apache.calcite.sql.SqlNode validatedSqlNode()
public org.apache.calcite.rel.RelRoot root()
public org.apache.calcite.sql.SqlNode parse(String sql)
public org.apache.calcite.sql.SqlNode validate(org.apache.calcite.sql.SqlNode sqlNode)
public org.apache.calcite.rel.RelRoot rel(org.apache.calcite.sql.SqlNode sql)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.