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 String | PIG_ROUND_ROBIN_PARTITIONER_BATCH_SIZEBatch size for round robin partitioning. | 
| Constructor and Description | 
|---|
| RoundRobinPartitioner() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.conf.Configuration | getConf() | 
| int | getPartition(org.apache.hadoop.io.Writable key,
            org.apache.hadoop.io.Writable value,
            int numPartitions) | 
| void | setConf(org.apache.hadoop.conf.Configuration conf) | 
public static 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.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2007-2012 The Apache Software Foundation