Interface FSOrderedMapFile.MapFileWriter

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    FSOrderedMapFile.MultiFSOMapWriter
    Enclosing class:
    FSOrderedMapFile<K extends org.apache.hadoop.io.WritableComparable,​V extends org.apache.hadoop.io.Writable>

    public static interface FSOrderedMapFile.MapFileWriter
    extends java.io.Closeable
    Interface for writing a FSOMapFile
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(org.apache.hadoop.io.WritableComparable key, org.apache.hadoop.io.Writable value)
      Add this (key, value) tuple to the MapFile
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • write

        void write​(org.apache.hadoop.io.WritableComparable key,
                   org.apache.hadoop.io.Writable value)
            throws java.io.IOException
        Add this (key, value) tuple to the MapFile
        Throws:
        java.io.IOException