Package org.apache.druid.indexer
Class DetermineHashedPartitionsJob.DetermineHashedPartitionsPartitioner
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
-
- org.apache.druid.indexer.DetermineHashedPartitionsJob.DetermineHashedPartitionsPartitioner
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- DetermineHashedPartitionsJob
public static class DetermineHashedPartitionsJob.DetermineHashedPartitionsPartitioner extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable> implements org.apache.hadoop.conf.Configurable
-
-
Constructor Summary
Constructors Constructor Description DetermineHashedPartitionsPartitioner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.conf.ConfigurationgetConf()intgetPartition(org.apache.hadoop.io.LongWritable interval, org.apache.hadoop.io.BytesWritable text, int numPartitions)voidsetConf(org.apache.hadoop.conf.Configuration config)
-
-
-
Method Detail
-
getPartition
public int getPartition(org.apache.hadoop.io.LongWritable interval, org.apache.hadoop.io.BytesWritable text, int numPartitions)- Specified by:
getPartitionin classorg.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
-
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
-
-