Package org.apache.flink.table.factories
Interface StreamTableSourceFactory<T>
-
- Type Parameters:
T- type of records that the factory produces
- All Superinterfaces:
org.apache.flink.table.factories.TableFactory,org.apache.flink.table.factories.TableSourceFactory<T>
- All Known Implementing Classes:
CsvAppendTableSourceFactory,CsvBatchTableSourceFactory
@Deprecated @PublicEvolving public interface StreamTableSourceFactory<T> extends org.apache.flink.table.factories.TableSourceFactory<T>
Deprecated.This interface has been replaced byDynamicTableSourceFactory. The new interface creates instances ofDynamicTableSource. See FLIP-95 for more information.A factory to create configured table source instances in a streaming environment based on string-based properties. See alsoTableSourceFactoryfor more information.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default StreamTableSource<T>createStreamTableSource(Map<String,String> properties)Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too.default org.apache.flink.table.sources.TableSource<T>createTableSource(Map<String,String> properties)Deprecated.Only create a stream table source.
-
-
-
Method Detail
-
createStreamTableSource
@Deprecated default StreamTableSource<T> createStreamTableSource(Map<String,String> properties)
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.
-
-