public class SecondaryKeyPartitioner extends org.apache.hadoop.mapreduce.lib.partition.HashPartitioner<PigNullableWritable,org.apache.hadoop.io.Writable> implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
SecondaryKeyPartitioner() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(PigNullableWritable key,
org.apache.hadoop.io.Writable value,
int numPartitions) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public int getPartition(PigNullableWritable key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.lib.partition.HashPartitioner<PigNullableWritable,org.apache.hadoop.io.Writable>
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2007-2017 The Apache Software Foundation