org.apache.hadoop.hive.ql.exec
Class HiveTotalOrderPartitioner
java.lang.Object
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>
HiveTotalOrderPartitioner
public HiveTotalOrderPartitioner()
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.