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