java.lang.Objectorg.supermind.crawl.util.MapFilePersister<java.lang.Long,org.apache.nutch.io.NullWritable>
org.supermind.crawl.util.LongPersister
org.supermind.crawl.util.MapFileScatterPurger
public class MapFileScatterPurger
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 |
---|
public MapFileScatterPurger()
Method Detail |
---|
public void purge(ChainedScatterTable table, int i, long value) throws java.io.IOException
purge
in interface ScatterPurger
java.io.IOException