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.
This is a legacy CSV connector that shares similarities with
CsvTableSink and utilizes
the DynamicTableFactory 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 ClassesModifier and TypeClassDescriptionstatic classDeprecated.The legacy CSV connector has been replaced byFileSink.Nested classes/interfaces inherited from interface org.apache.flink.table.factories.DynamicTableFactory
org.apache.flink.table.factories.DynamicTableFactory.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.connector.sink.DynamicTableSinkcreateDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context) Deprecated.Deprecated.Set<org.apache.flink.configuration.ConfigOption<?>>Deprecated.Set<org.apache.flink.configuration.ConfigOption<?>>Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.factories.DynamicTableFactory
forwardOptions
-
Constructor Details
-
LegacyCsvDynamicTableSinkFactory
public LegacyCsvDynamicTableSinkFactory()Deprecated.
-
-
Method Details
-
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
Deprecated.- Specified by:
factoryIdentifierin interfaceorg.apache.flink.table.factories.Factory
-
requiredOptions
Deprecated.- Specified by:
requiredOptionsin interfaceorg.apache.flink.table.factories.Factory
-
optionalOptions
Deprecated.- Specified by:
optionalOptionsin interfaceorg.apache.flink.table.factories.Factory
-
FileSink. It is kept only to support tests for the legacy connector stack.