public static class URLPartitioner.SelectorEntryPartitioner extends org.apache.hadoop.mapreduce.Partitioner<GeneratorJob.SelectorEntry,WebPage> implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
URLPartitioner.SelectorEntryPartitioner() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(GeneratorJob.SelectorEntry selectorEntry,
WebPage page,
int numReduces) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public URLPartitioner.SelectorEntryPartitioner()
public int getPartition(GeneratorJob.SelectorEntry selectorEntry, WebPage page, int numReduces)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<GeneratorJob.SelectorEntry,WebPage>
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2015 The Apache Software Foundation