Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rex.RexNode |
convertExpressionToRex(List<RowType.RowField> args,
Expression expression,
LogicalType outputType)
Converts
Expression to RexNode . |
SqlToRexConverter |
createSqlToRexConverter(org.apache.calcite.rel.type.RelDataType inputRowType,
org.apache.calcite.rel.type.RelDataType outputType)
Creates a new instance of
SqlToRexConverter to convert SQL expression to RexNode . |
SqlToRexConverter |
createSqlToRexConverter(RowType inputRowType,
LogicalType outputType)
Creates a new instance of
SqlToRexConverter to convert SQL expression to RexNode . |
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)
public SqlToRexConverter createSqlToRexConverter(org.apache.calcite.rel.type.RelDataType inputRowType, @Nullable org.apache.calcite.rel.type.RelDataType outputType)
SqlToRexConverter
to convert SQL expression to RexNode
.public SqlToRexConverter createSqlToRexConverter(RowType inputRowType, @Nullable LogicalType outputType)
SqlToRexConverter
to convert SQL expression to RexNode
.public org.apache.calcite.rex.RexNode convertExpressionToRex(List<RowType.RowField> args, Expression expression, @Nullable LogicalType outputType)
Expression
to RexNode
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.