T
- type of records that the factory produces@PublicEvolving public interface TableSinkFactory<T> extends TableFactory
TableFactory
for more information.Modifier and Type | Method and Description |
---|---|
TableSink<T> |
createTableSink(Map<String,String> properties)
Creates and configures a
TableSink using the given properties. |
default TableSink<T> |
createTableSink(ObjectPath tablePath,
CatalogTable table)
Creates and configures a
TableSink based on the given CatalogTable instance. |
requiredContext, supportedProperties
TableSink<T> createTableSink(Map<String,String> properties)
TableSink
using the given properties.properties
- normalized properties describing a table sink.default TableSink<T> createTableSink(ObjectPath tablePath, CatalogTable table)
TableSink
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.