Class BatchExecLegacySink<T>

Type Parameters:
T - The return type of the TableSink.
All Implemented Interfaces:
BatchExecNode<T>, ExecNode<T>, ExecNodeTranslator<T>, FusionCodegenExecNode, MultipleTransformationTranslator<T>

public class BatchExecLegacySink<T> extends CommonExecLegacySink<T> implements BatchExecNode<T>
Batch ExecNode to write data into an external sink defined by a TableSink.
  • Constructor Details

    • BatchExecLegacySink

      public BatchExecLegacySink(org.apache.flink.configuration.ReadableConfig tableConfig, org.apache.flink.table.legacy.sinks.TableSink<T> tableSink, @Nullable String[] upsertKeys, InputProperty inputProperty, org.apache.flink.table.types.logical.LogicalType outputType, String description)
  • Method Details

    • checkAndConvertInputTypeIfNeeded

      protected org.apache.flink.table.types.logical.RowType checkAndConvertInputTypeIfNeeded(org.apache.flink.table.types.logical.RowType inputRowType)
      Description copied from class: CommonExecLegacySink
      Check whether the given row type is legal and do some conversion if needed.
      Specified by:
      checkAndConvertInputTypeIfNeeded in class CommonExecLegacySink<T>