public static class TaggedFirstSecondIndexes.FirstIndexRangePartitioner extends Object implements org.apache.hadoop.mapred.Partitioner<TaggedFirstSecondIndexes,org.apache.hadoop.io.Writable>
Constructor and Description |
---|
FirstIndexRangePartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
int |
getPartition(TaggedFirstSecondIndexes key,
org.apache.hadoop.io.Writable value,
int numPartitions) |
public int getPartition(TaggedFirstSecondIndexes key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<TaggedFirstSecondIndexes,org.apache.hadoop.io.Writable>
public void configure(org.apache.hadoop.mapred.JobConf job)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
Copyright © 2017 The Apache Software Foundation. All rights reserved.