Interface SourceFunctionProvider

All Superinterfaces:
org.apache.flink.table.connector.ParallelismProvider, org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider

@Internal public interface SourceFunctionProvider extends org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider, org.apache.flink.table.connector.ParallelismProvider
Deprecated.
This interface is based on the SourceFunction API, which is due to be removed. Use SourceProvider instead.
Provider of a SourceFunction instance as a runtime implementation for ScanTableSource.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData>
    Deprecated.
    Creates a SourceFunction instance.
    of(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData> sourceFunction, boolean isBounded)
    Deprecated.
    Helper method for creating a static provider.
    of(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData> sourceFunction, boolean isBounded, Integer sourceParallelism)
    Deprecated.
    Helper method for creating a Source provider with a provided source parallelism.

    Methods inherited from interface org.apache.flink.table.connector.ParallelismProvider

    getParallelism

    Methods inherited from interface org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider

    isBounded
  • Method Details

    • of

      static SourceFunctionProvider of(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData> sourceFunction, boolean isBounded)
      Deprecated.
      Helper method for creating a static provider.
    • of

      static SourceFunctionProvider of(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData> sourceFunction, boolean isBounded, @Nullable Integer sourceParallelism)
      Deprecated.
      Helper method for creating a Source provider with a provided source parallelism.
    • createSourceFunction

      org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData> createSourceFunction()
      Deprecated.
      Creates a SourceFunction instance.