Class DiscardingOutputFormat<T>

  • Type Parameters:
    T - The type of the elements accepted by the output format.
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.io.OutputFormat<T>

    @Deprecated
    @Public
    public class DiscardingOutputFormat<T>
    extends Object
    implements org.apache.flink.api.common.io.OutputFormat<T>
    Deprecated.
    All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.
    An output format that simply discards all elements.
    See Also:
    FLIP-131: Consolidate the user-facing Dataflow SDKs/APIs (and deprecate the DataSet API, Serialized Form
    • Constructor Detail

      • DiscardingOutputFormat

        public DiscardingOutputFormat()
        Deprecated.
    • Method Detail

      • configure

        public void configure​(org.apache.flink.configuration.Configuration parameters)
        Deprecated.
        Specified by:
        configure in interface org.apache.flink.api.common.io.OutputFormat<T>
      • open

        public void open​(int taskNumber,
                         int numTasks)
        Deprecated.
        Specified by:
        open in interface org.apache.flink.api.common.io.OutputFormat<T>
      • writeRecord

        public void writeRecord​(T record)
        Deprecated.
        Specified by:
        writeRecord in interface org.apache.flink.api.common.io.OutputFormat<T>
      • close

        public void close()
        Deprecated.
        Specified by:
        close in interface org.apache.flink.api.common.io.OutputFormat<T>