org.terrier.structures.collections
Interface FSOrderedMapFile.MapFileWriter

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


Terrier 3.5. Copyright © 2004-2011 University of Glasgow