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 withCsvTableSink
and utilizes theDynamicTableFactory
stack.Currently, some of the tests that use
CsvTableSink
cannot 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 class
LegacyCsvDynamicTableSinkFactory.LegacyCsvDynamicTableSink
Deprecated.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.DynamicTableSink
createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context)
Deprecated.String
factoryIdentifier()
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:
createDynamicTableSink
in interfaceorg.apache.flink.table.factories.DynamicTableSinkFactory
-
factoryIdentifier
public String factoryIdentifier()
Deprecated.- Specified by:
factoryIdentifier
in interfaceorg.apache.flink.table.factories.Factory
-
requiredOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
Deprecated.- Specified by:
requiredOptions
in interfaceorg.apache.flink.table.factories.Factory
-
optionalOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
Deprecated.- Specified by:
optionalOptions
in interfaceorg.apache.flink.table.factories.Factory
-
-