Class RexFactory
- java.lang.Object
-
- org.apache.flink.table.planner.calcite.RexFactory
-
-
Constructor Summary
Constructors Constructor Description RexFactory(org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory, Supplier<org.apache.flink.table.planner.calcite.FlinkPlannerImpl> plannerSupplier, Supplier<org.apache.calcite.sql.SqlDialect> sqlDialectSupplier, Function<org.apache.flink.table.planner.calcite.FlinkPlannerImpl,FlinkRelBuilder> relBuilderSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.rex.RexNode
convertExpressionToRex(List<RowType.RowField> args, Expression expression, LogicalType outputType)
ConvertsExpression
toRexNode
.SqlToRexConverter
createSqlToRexConverter(org.apache.calcite.rel.type.RelDataType inputRowType, org.apache.calcite.rel.type.RelDataType outputType)
Creates a new instance ofSqlToRexConverter
to convert SQL expression toRexNode
.SqlToRexConverter
createSqlToRexConverter(RowType inputRowType, LogicalType outputType)
Creates a new instance ofSqlToRexConverter
to convert SQL expression toRexNode
.
-
-
-
Constructor Detail
-
RexFactory
public RexFactory(org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory, Supplier<org.apache.flink.table.planner.calcite.FlinkPlannerImpl> plannerSupplier, Supplier<org.apache.calcite.sql.SqlDialect> sqlDialectSupplier, Function<org.apache.flink.table.planner.calcite.FlinkPlannerImpl,FlinkRelBuilder> relBuilderSupplier)
-
-
Method Detail
-
createSqlToRexConverter
public SqlToRexConverter createSqlToRexConverter(org.apache.calcite.rel.type.RelDataType inputRowType, @Nullable org.apache.calcite.rel.type.RelDataType outputType)
Creates a new instance ofSqlToRexConverter
to convert SQL expression toRexNode
.
-
createSqlToRexConverter
public SqlToRexConverter createSqlToRexConverter(RowType inputRowType, @Nullable LogicalType outputType)
Creates a new instance ofSqlToRexConverter
to convert SQL expression toRexNode
.
-
convertExpressionToRex
public org.apache.calcite.rex.RexNode convertExpressionToRex(List<RowType.RowField> args, Expression expression, @Nullable LogicalType outputType)
ConvertsExpression
toRexNode
.
-
-