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