public static class SecondarySort.FirstPartitioner extends org.apache.hadoop.mapreduce.Partitioner<SecondarySort.IntPair,org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
SecondarySort.FirstPartitioner() |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(SecondarySort.IntPair key,
org.apache.hadoop.io.IntWritable value,
int numPartitions) |
public int getPartition(SecondarySort.IntPair key, org.apache.hadoop.io.IntWritable value, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<SecondarySort.IntPair,org.apache.hadoop.io.IntWritable>
Copyright © 2015 Apache Software Foundation. All Rights Reserved.