Interface StreamTableSourceFactory<T>

Type Parameters:
T - type of records that the factory produces
All Superinterfaces:
org.apache.flink.table.legacy.factories.TableFactory, org.apache.flink.table.legacy.factories.TableSourceFactory<T>
All Known Implementing Classes:
CsvAppendTableSourceFactory, CsvBatchTableSourceFactory

@Deprecated @Internal public interface StreamTableSourceFactory<T> extends org.apache.flink.table.legacy.factories.TableSourceFactory<T>
Deprecated.
This interface has been replaced by DynamicTableSourceFactory. The new interface creates instances of DynamicTableSource. See FLIP-95 for more information.
A factory to create configured table source instances in a streaming environment based on string-based properties. See also TableSourceFactory for more information.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.table.legacy.factories.TableSourceFactory

    org.apache.flink.table.legacy.factories.TableSourceFactory.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    TableSourceFactory.Context contains more information, and already contains table schema too.
    default org.apache.flink.table.legacy.sources.TableSource<T>
    Deprecated.
    Only create a stream table source.

    Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory

    requiredContext, supportedProperties

    Methods inherited from interface org.apache.flink.table.legacy.factories.TableSourceFactory

    createTableSource, createTableSource
  • Method Details

    • createStreamTableSource

      @Deprecated default StreamTableSource<T> createStreamTableSource(Map<String,String> properties)
      Deprecated.
      TableSourceFactory.Context contains more information, and already contains table schema too. Please use TableSourceFactory.createTableSource(Context) instead.
      Creates and configures a StreamTableSource using the given properties.
      Parameters:
      properties - normalized properties describing a stream table source.
      Returns:
      the configured stream table source.
    • createTableSource

      default org.apache.flink.table.legacy.sources.TableSource<T> createTableSource(Map<String,String> properties)
      Deprecated.
      Only create a stream table source.
      Specified by:
      createTableSource in interface org.apache.flink.table.legacy.factories.TableSourceFactory<T>