Package org.apache.flink.table.sinks
Class LegacyCsvDynamicTableSinkFactory
- java.lang.Object
-
- org.apache.flink.table.sinks.LegacyCsvDynamicTableSinkFactory
-
- All Implemented Interfaces:
org.apache.flink.table.factories.DynamicTableFactory,org.apache.flink.table.factories.DynamicTableSinkFactory,org.apache.flink.table.factories.Factory
@Internal @Deprecated public class LegacyCsvDynamicTableSinkFactory extends Object implements org.apache.flink.table.factories.DynamicTableSinkFactory
Deprecated.The legacy CSV connector has been replaced byFileSink. It is kept only to support tests for the legacy connector stack.This is a legacy CSV connector that shares similarities withCsvTableSinkand utilizes theDynamicTableFactorystack.Currently, some of the tests that use
CsvTableSinkcannot be seamlessly switched to use the FileSystem connector with CSV format. For example, CsvTableSink writes to a single file, and when writing String types, it does not include double quotes, among other differences.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegacyCsvDynamicTableSinkFactory.LegacyCsvDynamicTableSinkDeprecated.The legacy CSV connector has been replaced byFileSink.
-
Constructor Summary
Constructors Constructor Description LegacyCsvDynamicTableSinkFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.flink.table.connector.sink.DynamicTableSinkcreateDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context)Deprecated.StringfactoryIdentifier()Deprecated.Set<org.apache.flink.configuration.ConfigOption<?>>optionalOptions()Deprecated.Set<org.apache.flink.configuration.ConfigOption<?>>requiredOptions()Deprecated.
-
-
-
Method Detail
-
createDynamicTableSink
public org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context)
Deprecated.- Specified by:
createDynamicTableSinkin interfaceorg.apache.flink.table.factories.DynamicTableSinkFactory
-
factoryIdentifier
public String factoryIdentifier()
Deprecated.- Specified by:
factoryIdentifierin interfaceorg.apache.flink.table.factories.Factory
-
requiredOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
Deprecated.- Specified by:
requiredOptionsin interfaceorg.apache.flink.table.factories.Factory
-
optionalOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
Deprecated.- Specified by:
optionalOptionsin interfaceorg.apache.flink.table.factories.Factory
-
-