T
- type of records that the factory produces@PublicEvolving public interface TableSourceFactory<T> extends TableFactory
TableFactory
for more information.Modifier and Type | Interface and Description |
---|---|
static interface |
TableSourceFactory.Context
Context of table source creation.
|
Modifier and Type | Method and Description |
---|---|
default TableSource<T> |
createTableSource(Map<String,String> properties)
Deprecated.
TableSourceFactory.Context contains more information, and already contains table schema too.
Please use createTableSource(Context) instead. |
default TableSource<T> |
createTableSource(ObjectPath tablePath,
CatalogTable table)
Deprecated.
TableSourceFactory.Context contains more information, and already contains table schema too.
Please use createTableSource(Context) instead. |
default TableSource<T> |
createTableSource(TableSourceFactory.Context context)
Creates and configures a
TableSource based on the given TableSourceFactory.Context . |
requiredContext, supportedProperties
@Deprecated default TableSource<T> createTableSource(Map<String,String> properties)
TableSourceFactory.Context
contains more information, and already contains table schema too.
Please use createTableSource(Context)
instead.TableSource
using the given properties.properties
- normalized properties describing a table source.@Deprecated default TableSource<T> createTableSource(ObjectPath tablePath, CatalogTable table)
TableSourceFactory.Context
contains more information, and already contains table schema too.
Please use createTableSource(Context)
instead.TableSource
based on the given CatalogTable
instance.tablePath
- path of the given CatalogTable
table
- CatalogTable
instance.default TableSource<T> createTableSource(TableSourceFactory.Context context)
TableSource
based on the given TableSourceFactory.Context
.context
- context of this table source.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.