org.apache.tez.mapreduce.partition
Class MRPartitioner

java.lang.Object
  extended by 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)
           
 
Method Summary
 int getPartition(Object key, Object value, int numPartitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRPartitioner

public MRPartitioner(org.apache.hadoop.conf.Configuration conf)
Method Detail

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.