public static class URLPartitioner.FetchEntryPartitioner extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.IntWritable,FetchEntry> implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
URLPartitioner.FetchEntryPartitioner() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(org.apache.hadoop.io.IntWritable intWritable,
FetchEntry fetchEntry,
int numReduces) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public URLPartitioner.FetchEntryPartitioner()
public int getPartition(org.apache.hadoop.io.IntWritable intWritable, FetchEntry fetchEntry, int numReduces)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.IntWritable,FetchEntry>
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