org.supermind.crawl
Class MapFileScatterPurger

java.lang.Object
  extended by org.supermind.crawl.util.MapFilePersister<java.lang.Long,org.apache.nutch.io.NullWritable>
      extended by org.supermind.crawl.util.LongPersister
          extended by org.supermind.crawl.util.MapFileScatterPurger
All Implemented Interfaces:
ScatterPurger

public class MapFileScatterPurger
extends LongPersister
implements ScatterPurger

Persists evicted scatter table entries to a Nutch MapFile.


Field Summary
 
Fields inherited from class org.supermind.crawl.MapFilePersister
buffer, maxBufferSize, sorter, tmpWriter
 
Fields inherited from interface org.supermind.crawl.ScatterPurger
NO_OP
 
Constructor Summary
MapFileScatterPurger()
           
 
Method Summary
 void purge(ChainedScatterTable table, int i, long value)
           
 
Methods inherited from class org.supermind.crawl.LongPersister
add, contains, getKeyComparator, getKeyInstance, getMapFileKeyClass, getTypeComparator, writeBufferToTmp
 
Methods inherited from class org.supermind.crawl.MapFilePersister
add, close, flushToDisk, getMapFileValueClass, getValueInstance, init, initTmpWriter, setMapdir, setNfs, setOverwrite, setTmpfile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.supermind.crawl.ScatterPurger
close, contains
 

Constructor Detail

MapFileScatterPurger

public MapFileScatterPurger()
Method Detail

purge

public void purge(ChainedScatterTable table,
                  int i,
                  long value)
           throws java.io.IOException
Specified by:
purge in interface ScatterPurger
Throws:
java.io.IOException