Class OutputFormatConsumer<T>

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

    public class OutputFormatConsumer<T>
    extends java.lang.Object
    implements org.apache.flink.api.common.io.OutputFormat<T>, java.io.Serializable
    Wrapper for OutputFormat
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.flink.api.common.io.OutputFormat

        org.apache.flink.api.common.io.OutputFormat.InitializationContext
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void configure​(org.apache.flink.configuration.Configuration configuration)  
      void open​(int i, int i1)  
      void writeRecord​(T o)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.flink.api.common.io.OutputFormat

        open
    • Method Detail

      • configure

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

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

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

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