Interface TableSourceFactory<T>
- Type Parameters:
T- type of records that the factory produces
- All Superinterfaces:
TableFactory
Deprecated.
A factory to create configured table source instances in a batch or stream environment based on
string-based properties. See also
TableFactory for more information.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.Context of table source creation. -
Method Summary
Modifier and TypeMethodDescriptiondefault TableSource<T>createTableSource(Map<String, String> properties) Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too.default TableSource<T>createTableSource(ObjectPath tablePath, CatalogTable table) Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too.default TableSource<T>Deprecated.Creates and configures aTableSourcebased on the givenTableSourceFactory.Context.Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
requiredContext, supportedProperties
-
Method Details
-
createTableSource
Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too. Please usecreateTableSource(Context)instead.Creates and configures aTableSourceusing the given properties.- Parameters:
properties- normalized properties describing a table source.- Returns:
- the configured table source.
-
createTableSource
Deprecated.TableSourceFactory.Contextcontains more information, and already contains table schema too. Please usecreateTableSource(Context)instead.Creates and configures aTableSourcebased on the givenCatalogTableinstance.- Parameters:
tablePath- path of the givenCatalogTabletable-CatalogTableinstance.- Returns:
- the configured table source.
-
createTableSource
Deprecated.Creates and configures aTableSourcebased on the givenTableSourceFactory.Context.- Parameters:
context- context of this table source.- Returns:
- the configured table source.
-
DynamicTableSourceFactory. The new interface produces internal data structures. See FLIP-95 for more information.