org.apache.nutch.crawl
Class URLPartitioner.SelectorEntryPartitioner
java.lang.Object
org.apache.hadoop.mapreduce.Partitioner<GeneratorJob.SelectorEntry,WebPage>
org.apache.nutch.crawl.URLPartitioner.SelectorEntryPartitioner
- All Implemented Interfaces:
- Configurable
- Enclosing class:
- URLPartitioner
public static class URLPartitioner.SelectorEntryPartitioner
- extends Partitioner<GeneratorJob.SelectorEntry,WebPage>
- implements Configurable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLPartitioner.SelectorEntryPartitioner
public URLPartitioner.SelectorEntryPartitioner()
getPartition
public int getPartition(GeneratorJob.SelectorEntry selectorEntry,
WebPage page,
int numReduces)
- Specified by:
getPartition
in class Partitioner<GeneratorJob.SelectorEntry,WebPage>
getConf
public Configuration getConf()
- Specified by:
getConf
in interface Configurable
setConf
public void setConf(Configuration conf)
- Specified by:
setConf
in interface Configurable
Copyright © 2012 The Apache Software Foundation