Class BlockingShuffleOutputFormat<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.io.OutputFormat<T>

    @Internal
    public final class BlockingShuffleOutputFormat<T>
    extends Object
    implements org.apache.flink.api.common.io.OutputFormat<T>
    This is the inner OutputFormat used for specify the BLOCKING_PERSISTENT result partition type of coming edge.
    See Also:
    Serialized Form
    • Method Detail

      • createOutputFormat

        public static <T> BlockingShuffleOutputFormat<T> createOutputFormat​(org.apache.flink.util.AbstractID intermediateDataSetId)
      • configure

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

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

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

        public void close()
                   throws IOException
        Specified by:
        close in interface org.apache.flink.api.common.io.OutputFormat<T>
        Throws:
        IOException
      • getIntermediateDataSetId

        public org.apache.flink.util.AbstractID getIntermediateDataSetId()