Class 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 by FileSink. It is kept only to support tests for the legacy connector stack.
    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.

    • Constructor Detail

      • LegacyCsvDynamicTableSinkFactory

        public LegacyCsvDynamicTableSinkFactory()
        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 interface org.apache.flink.table.factories.DynamicTableSinkFactory
      • factoryIdentifier

        public String factoryIdentifier()
        Deprecated.
        Specified by:
        factoryIdentifier in interface org.apache.flink.table.factories.Factory
      • requiredOptions

        public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
        Deprecated.
        Specified by:
        requiredOptions in interface org.apache.flink.table.factories.Factory
      • optionalOptions

        public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
        Deprecated.
        Specified by:
        optionalOptions in interface org.apache.flink.table.factories.Factory