Package org.apache.druid.indexer
Class IndexGeneratorJob.IndexGeneratorPartitioner
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Writable>
-
- org.apache.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- IndexGeneratorJob
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 Summary
Constructors Constructor Description IndexGeneratorPartitioner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.conf.ConfigurationgetConf()intgetPartition(org.apache.hadoop.io.BytesWritable bytesWritable, org.apache.hadoop.io.Writable value, int numPartitions)voidsetConf(org.apache.hadoop.conf.Configuration config)
-
-
-
Method Detail
-
getPartition
public int getPartition(org.apache.hadoop.io.BytesWritable bytesWritable, org.apache.hadoop.io.Writable value, int numPartitions)- Specified by:
getPartitionin classorg.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Writable>
-
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration config)
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
-