Class BatchExecTableSourceScan

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.CommonExecTableSourceScan
org.apache.flink.table.planner.plan.nodes.exec.batch.BatchExecTableSourceScan
All Implemented Interfaces:
BatchExecNode<org.apache.flink.table.data.RowData>, ExecNode<org.apache.flink.table.data.RowData>, ExecNodeTranslator<org.apache.flink.table.data.RowData>, FusionCodegenExecNode, MultipleTransformationTranslator<org.apache.flink.table.data.RowData>

@ExecNodeMetadata(name="batch-exec-table-source-scan", version=1, producedTransformations="source", minPlanVersion=v2_0, minStateVersion=v2_0) public class BatchExecTableSourceScan extends CommonExecTableSourceScan implements BatchExecNode<org.apache.flink.table.data.RowData>
Batch ExecNode to read data from an external source defined by a bounded ScanTableSource.
  • Constructor Details

    • BatchExecTableSourceScan

      public BatchExecTableSourceScan(org.apache.flink.configuration.ReadableConfig tableConfig, DynamicTableSourceSpec tableSourceSpec, InputProperty inputProperty, org.apache.flink.table.types.logical.RowType outputType, String description)
    • BatchExecTableSourceScan

      public BatchExecTableSourceScan(org.apache.flink.configuration.ReadableConfig tableConfig, DynamicTableSourceSpec tableSourceSpec, org.apache.flink.table.types.logical.RowType outputType, String description)
    • BatchExecTableSourceScan

      public BatchExecTableSourceScan(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig tableConfig, DynamicTableSourceSpec tableSourceSpec, org.apache.flink.table.types.logical.RowType outputType, String description)
  • Method Details

    • getDynamicFilteringDataListenerID

      public String getDynamicFilteringDataListenerID()
    • 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.
      Overrides:
      translateToPlanInternal in class CommonExecTableSourceScan
      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.
    • getDynamicFilteringDataCollector

      public static BatchExecDynamicFilteringDataCollector getDynamicFilteringDataCollector(BatchExecNode<?> node)
    • createInputFormatTransformation

      public org.apache.flink.api.dag.Transformation<org.apache.flink.table.data.RowData> createInputFormatTransformation(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env, org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,?> inputFormat, org.apache.flink.table.runtime.typeutils.InternalTypeInfo<org.apache.flink.table.data.RowData> outputTypeInfo, String operatorName)
      Description copied from class: CommonExecTableSourceScan
      Creates a Transformation based on the given InputFormat. The implementation is different for streaming mode and batch mode.
      Specified by:
      createInputFormatTransformation in class CommonExecTableSourceScan
    • copyAndRemoveInputs

      public BatchExecTableSourceScan copyAndRemoveInputs()