@Deprecated
public class RoundRobinPartitioner
extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
implements org.apache.hadoop.conf.Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PIG_ROUND_ROBIN_PARTITIONER_BATCH_SIZE
Deprecated.
Batch size for round robin partitioning.
|
Constructor and Description |
---|
RoundRobinPartitioner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Deprecated.
|
int |
getPartition(org.apache.hadoop.io.Writable key,
org.apache.hadoop.io.Writable value,
int numPartitions)
Deprecated.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
public static java.lang.String PIG_ROUND_ROBIN_PARTITIONER_BATCH_SIZE
public int getPartition(org.apache.hadoop.io.Writable key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
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 © 2007-2017 The Apache Software Foundation