protected static class CollectHostnames.Partition extends Object implements org.apache.hadoop.mapred.Partitioner<tl.lin.data.pair.PairOfIntString,org.apache.hadoop.io.IntWritable>
| Modifier | Constructor and Description |
|---|---|
protected |
CollectHostnames.Partition() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
int |
getPartition(tl.lin.data.pair.PairOfIntString key,
org.apache.hadoop.io.IntWritable value,
int numReduceTasks) |
public void configure(org.apache.hadoop.mapred.JobConf job)
configure in interface org.apache.hadoop.mapred.JobConfigurablepublic int getPartition(tl.lin.data.pair.PairOfIntString key,
org.apache.hadoop.io.IntWritable value,
int numReduceTasks)
getPartition in interface org.apache.hadoop.mapred.Partitioner<tl.lin.data.pair.PairOfIntString,org.apache.hadoop.io.IntWritable>Copyright © 2015. All rights reserved.