Package org.apache.druid.indexer
Class DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>
-
- org.apache.druid.indexer.DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- DeterminePartitionsJob
public static class DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text> implements org.apache.hadoop.conf.Configurable
-
-
Constructor Summary
Constructors Constructor Description DeterminePartitionsDimSelectionPartitioner()
-
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.Text text, 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.Text text, int numPartitions)- Specified by:
getPartitionin classorg.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>
-
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
-
-