Interface ResultWriter<T extends FetchResult>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void open​(org.apache.hadoop.conf.Configuration conf)
      Opens the given result writer with a configuration.
      void write​(T result)
      Writes a single item to the output.
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • open

        void open​(org.apache.hadoop.conf.Configuration conf)
           throws java.io.IOException
        Opens the given result writer with a configuration.
        Throws:
        java.io.IOException
      • write

        void write​(T result)
            throws java.io.IOException
        Writes a single item to the output.
        Throws:
        java.io.IOException