org.apache.hadoop.hive.ql.exec
Class HiveTotalOrderPartitioner

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.HiveTotalOrderPartitioner
All Implemented Interfaces:
org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<HiveKey,Object>

public class HiveTotalOrderPartitioner
extends Object
implements org.apache.hadoop.mapred.Partitioner<HiveKey,Object>


Constructor Summary
HiveTotalOrderPartitioner()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf job)
           
 int getPartition(HiveKey key, Object value, int numPartitions)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveTotalOrderPartitioner

public HiveTotalOrderPartitioner()
Method Detail

configure

public void configure(org.apache.hadoop.mapred.JobConf job)
Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable

getPartition

public int getPartition(HiveKey key,
                        Object value,
                        int numPartitions)
Specified by:
getPartition in interface org.apache.hadoop.mapred.Partitioner<HiveKey,Object>


Copyright © 2014 The Apache Software Foundation. All rights reserved.