public class CoGroupingPartitioner extends HasherPartitioner implements org.apache.hadoop.mapred.Partitioner<IndexTuple,Tuple>
Partitioner
.Constructor and Description |
---|
CoGroupingPartitioner() |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(IndexTuple key,
Tuple value,
int numReduceTasks) |
configure
hashCode, initialize, isNull, merge
public int getPartition(IndexTuple key, Tuple value, int numReduceTasks)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<IndexTuple,Tuple>