@PublicEvolving public class CsvAppendTableSinkFactory extends CsvTableSinkFactoryBase implements StreamTableSinkFactory<Row>
CsvTableSink
in a stream environment.TableSinkFactory.Context
Constructor and Description |
---|
CsvAppendTableSinkFactory() |
Modifier and Type | Method and Description |
---|---|
StreamTableSink<Row> |
createStreamTableSink(Map<String,String> properties)
Creates and configures a
StreamTableSink using the given properties. |
Map<String,String> |
requiredContext()
Specifies the context that this factory has been implemented for.
|
createTableSink, supportedProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTableSink
createTableSink, createTableSink
supportedProperties
public Map<String,String> requiredContext()
TableFactory
Typical properties might be: - connector.type - format.type
Specified property versions allow the framework to provide backwards compatible properties in case of string format changes: - connector.property-version - format.property-version
An empty context means that the factory matches for all requests.
requiredContext
in interface TableFactory
requiredContext
in class CsvTableSinkFactoryBase
public StreamTableSink<Row> createStreamTableSink(Map<String,String> properties)
StreamTableSinkFactory
StreamTableSink
using the given properties.createStreamTableSink
in interface StreamTableSinkFactory<Row>
properties
- normalized properties describing a table sink.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.