org.htuple
Class TuplePartitioner
java.lang.Object
org.htuple.TuplePartitioner
public class TuplePartitioner
- extends Object
A partitioner for Tuple's to support secondary sorting.
See ShuffleUtils for examples of how secondary sort can be configured.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TuplePartitioner
public TuplePartitioner(org.apache.hadoop.conf.Configuration conf)
getConf
public org.apache.hadoop.conf.Configuration getConf()
getPartition
public int getPartition(Tuple key,
int numPartitions)
Copyright © 2013. All Rights Reserved.