org.terrier.structures.collections
Interface FSOrderedMapFile.MapFileWriter

All Superinterfaces:
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 Closeable

Interface for writing a FSOMapFile


Method Summary
 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 IOException
Add this (key, value) tuple to the MapFile

Throws:
IOException


Terrier 3.6. Copyright © 2004-2011 University of Glasgow