Class SinkRuntimeProviderContext

java.lang.Object
org.apache.flink.table.runtime.connector.sink.SinkRuntimeProviderContext
All Implemented Interfaces:
org.apache.flink.table.connector.sink.DynamicTableSink.Context

@Internal public final class SinkRuntimeProviderContext extends Object implements org.apache.flink.table.connector.sink.DynamicTableSink.Context
Implementation of DynamicTableSink.Context.
  • Constructor Details

    • SinkRuntimeProviderContext

      public SinkRuntimeProviderContext(boolean isBounded)
    • SinkRuntimeProviderContext

      public SinkRuntimeProviderContext(boolean isBounded, @Nullable int[][] targetColumns)
  • Method Details

    • isBounded

      public boolean isBounded()
      Specified by:
      isBounded in interface org.apache.flink.table.connector.sink.DynamicTableSink.Context
    • createTypeInformation

      public org.apache.flink.api.common.typeinfo.TypeInformation<?> createTypeInformation(org.apache.flink.table.types.DataType consumedDataType)
      Specified by:
      createTypeInformation in interface org.apache.flink.table.connector.sink.DynamicTableSink.Context
    • createTypeInformation

      public org.apache.flink.api.common.typeinfo.TypeInformation<?> createTypeInformation(org.apache.flink.table.types.logical.LogicalType consumedLogicalType)
      Specified by:
      createTypeInformation in interface org.apache.flink.table.connector.sink.DynamicTableSink.Context
    • createDataStructureConverter

      public org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter createDataStructureConverter(org.apache.flink.table.types.DataType consumedDataType)
      Specified by:
      createDataStructureConverter in interface org.apache.flink.table.connector.sink.DynamicTableSink.Context
    • getTargetColumns

      public Optional<int[][]> getTargetColumns()
      Specified by:
      getTargetColumns in interface org.apache.flink.table.connector.sink.DynamicTableSink.Context