java.lang.Object
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase<org.apache.flink.table.data.RowData>
org.apache.flink.table.planner.plan.nodes.exec.common.CommonExecCalc
All Implemented Interfaces:
ExecNode<org.apache.flink.table.data.RowData>, ExecNodeTranslator<org.apache.flink.table.data.RowData>, FusionCodegenExecNode, SingleTransformationTranslator<org.apache.flink.table.data.RowData>
Direct Known Subclasses:
BatchExecCalc, StreamExecCalc

public abstract class CommonExecCalc extends ExecNodeBase<org.apache.flink.table.data.RowData> implements SingleTransformationTranslator<org.apache.flink.table.data.RowData>
Base class for exec Calc.
  • Field Details

    • CALC_TRANSFORMATION

      public static final String CALC_TRANSFORMATION
      See Also:
    • FIELD_NAME_PROJECTION

      public static final String FIELD_NAME_PROJECTION
      See Also:
    • FIELD_NAME_CONDITION

      public static final String FIELD_NAME_CONDITION
      See Also:
    • projection

      protected final List<org.apache.calcite.rex.RexNode> projection
    • condition

      @Nullable protected final org.apache.calcite.rex.RexNode condition
  • Constructor Details

    • CommonExecCalc

      protected CommonExecCalc(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, List<org.apache.calcite.rex.RexNode> projection, @Nullable org.apache.calcite.rex.RexNode condition, Class<?> operatorBaseClass, boolean retainHeader, List<InputProperty> inputProperties, org.apache.flink.table.types.logical.RowType outputType, String description)
  • Method Details

    • translateToPlanInternal

      protected org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> translateToPlanInternal(PlannerBase planner, ExecNodeConfig config)
      Description copied from class: ExecNodeBase
      Internal method, translates this node into a Flink operator.
      Specified by:
      translateToPlanInternal in class ExecNodeBase<org.apache.flink.table.data.RowData>
      Parameters:
      planner - The planner.
      config - per-ExecNode configuration that contains the merged configuration from various layers which all the nodes implementing this method should use, instead of retrieving configuration from the planner. For more details check ExecNodeConfig.