public static class URLPartitioner.FetchEntryPartitioner extends Partitioner<IntWritable,FetchEntry> implements Configurable
Constructor and Description |
---|
URLPartitioner.FetchEntryPartitioner() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
int |
getPartition(IntWritable intWritable,
FetchEntry fetchEntry,
int numReduces) |
void |
setConf(Configuration conf) |
public URLPartitioner.FetchEntryPartitioner()
public int getPartition(IntWritable intWritable, FetchEntry fetchEntry, int numReduces)
getPartition
in class Partitioner<IntWritable,FetchEntry>
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
Copyright © 2015 The Apache Software Foundation