Class BlackHoleTableSinkFactory

  • All Implemented Interfaces:
    org.apache.flink.table.factories.DynamicTableFactory, org.apache.flink.table.factories.DynamicTableSinkFactory, org.apache.flink.table.factories.Factory

    @Internal
    public class BlackHoleTableSinkFactory
    extends Object
    implements org.apache.flink.table.factories.DynamicTableSinkFactory
    Black hole table sink factory swallowing all input records. It is designed for: - high performance testing. - UDF to output, not substantive sink. Just like /dev/null device on Unix-like operating systems.
    • Constructor Detail

      • BlackHoleTableSinkFactory

        public BlackHoleTableSinkFactory()
    • Method Detail

      • factoryIdentifier

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

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

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

        public org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink​(org.apache.flink.table.factories.DynamicTableFactory.Context context)
        Specified by:
        createDynamicTableSink in interface org.apache.flink.table.factories.DynamicTableSinkFactory