T
- type of records that the factory producesDynamicTableSinkFactory
. The new
interface consumes internal data structures. See FLIP-95 for more information.@Deprecated @PublicEvolving public interface TableSinkFactory<T> extends TableFactory
TableFactory
for more information.Modifier and Type | Interface and Description |
---|---|
static interface |
TableSinkFactory.Context
Deprecated.
Context of table sink creation.
|
Modifier and Type | Method and Description |
---|---|
default TableSink<T> |
createTableSink(Map<String,String> properties)
Deprecated.
TableSinkFactory.Context contains more information, and already contains table schema too.
Please use createTableSink(Context) instead. |
default TableSink<T> |
createTableSink(ObjectPath tablePath,
CatalogTable table)
Deprecated.
TableSinkFactory.Context contains more information, and already contains table schema too.
Please use createTableSink(Context) instead. |
default TableSink<T> |
createTableSink(TableSinkFactory.Context context)
Deprecated.
Creates and configures a
TableSink based on the given TableSinkFactory.Context . |
requiredContext, supportedProperties
@Deprecated default TableSink<T> createTableSink(Map<String,String> properties)
TableSinkFactory.Context
contains more information, and already contains table schema too.
Please use createTableSink(Context)
instead.TableSink
using the given properties.properties
- normalized properties describing a table sink.@Deprecated default TableSink<T> createTableSink(ObjectPath tablePath, CatalogTable table)
TableSinkFactory.Context
contains more information, and already contains table schema too.
Please use createTableSink(Context)
instead.TableSink
based on the given CatalogTable
instance.tablePath
- path of the given CatalogTable
table
- CatalogTable
instance.default TableSink<T> createTableSink(TableSinkFactory.Context context)
TableSink
based on the given TableSinkFactory.Context
.context
- context of this table sink.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.