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.
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 TypeMethodDescriptiondefault StreamTableSource<T>createStreamTableSource(Map<String, String> properties) Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too.default org.apache.flink.table.legacy.sources.TableSource<T>createTableSource(Map<String, String> properties) Deprecated.Only create a stream table source.Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
requiredContext, supportedPropertiesMethods inherited from interface org.apache.flink.table.legacy.factories.TableSourceFactory
createTableSource, createTableSource
-
Method Details
-
createStreamTableSource
Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too. Please useTableSourceFactory.createTableSource(Context)instead.Creates and configures aStreamTableSourceusing 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:
createTableSourcein interfaceorg.apache.flink.table.legacy.factories.TableSourceFactory<T>
-
DynamicTableSourceFactory. The new interface creates instances ofDynamicTableSource. See FLIP-95 for more information.