Interface TableSourceFactory<T>
-
- Type Parameters:
T- type of records that the factory produces
- All Superinterfaces:
TableFactory
@Deprecated @Internal public interface TableSourceFactory<T> extends TableFactory
Deprecated.This interface has been replaced byDynamicTableSourceFactory. The new interface produces internal data structures. See FLIP-95 for more information.A factory to create configured table source instances in a batch or stream environment based on string-based properties. See alsoTableFactoryfor more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTableSourceFactory.ContextDeprecated.Context of table source creation.
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default 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>createTableSource(TableSourceFactory.Context context)Deprecated.Creates and configures aTableSourcebased on the givenTableSourceFactory.Context.-
Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
requiredContext, supportedProperties
-
-
-
-
Method Detail
-
createTableSource
@Deprecated default TableSource<T> createTableSource(Map<String,String> properties)
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 default TableSource<T> createTableSource(ObjectPath tablePath, CatalogTable table)
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
default TableSource<T> createTableSource(TableSourceFactory.Context context)
Deprecated.Creates and configures aTableSourcebased on the givenTableSourceFactory.Context.- Parameters:
context- context of this table source.- Returns:
- the configured table source.
-
-