public class HiveTotalOrderPartitioner extends Object implements org.apache.hadoop.mapred.Partitioner<HiveKey,Object>, org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
HiveTotalOrderPartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(HiveKey key,
Object value,
int numPartitions) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void configure(org.apache.hadoop.mapred.JobConf job)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2017 The Apache Software Foundation. All rights reserved.