public static class IndexGeneratorJob.IndexGeneratorPartitioner
extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Writable>
implements org.apache.hadoop.conf.Configurable
| Constructor and Description |
|---|
IndexGeneratorJob.IndexGeneratorPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(org.apache.hadoop.io.BytesWritable bytesWritable,
org.apache.hadoop.io.Writable value,
int numPartitions) |
void |
setConf(org.apache.hadoop.conf.Configuration config) |
public IndexGeneratorJob.IndexGeneratorPartitioner()
public int getPartition(org.apache.hadoop.io.BytesWritable bytesWritable,
org.apache.hadoop.io.Writable value,
int numPartitions)
getPartition in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Writable>public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration config)
setConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2011–2015. All rights reserved.