org.apache.tez.mapreduce.partition
Class MRPartitioner
java.lang.Object
org.apache.tez.mapreduce.partition.MRPartitioner
- All Implemented Interfaces:
- org.apache.tez.runtime.library.api.Partitioner
public class MRPartitioner
- extends Object
- implements org.apache.tez.runtime.library.api.Partitioner
|
Constructor Summary |
MRPartitioner(org.apache.hadoop.conf.Configuration conf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRPartitioner
public MRPartitioner(org.apache.hadoop.conf.Configuration conf)
getPartition
public int getPartition(Object key,
Object value,
int numPartitions)
- Specified by:
getPartition in interface org.apache.tez.runtime.library.api.Partitioner
Copyright © 2014 Apache Software Foundation. All rights reserved.