Class SetFile.Writer

java.lang.Object
org.apache.hadoop.io.MapFile.Writer
org.apache.hadoop.io.SetFile.Writer
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
SetFile

public static class SetFile.Writer extends MapFile.Writer
Write a new set file.
  • Constructor Details

  • Method Details

    • append

      public void append(WritableComparable key) throws IOException
      Append a key to a set. The key must be strictly greater than the previous key added to the set.
      Parameters:
      key - input key.
      Throws:
      IOException - raised on errors performing I/O.