- All Implemented Interfaces:
- org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<InvertedIndex.InvertedIndexKey,V>
- Enclosing class:
- InvertedIndex.InvertedIndexKey
public static class InvertedIndex.InvertedIndexKey.WordPartitioner<V>
extends org.apache.hadoop.mapreduce.Partitioner<InvertedIndex.InvertedIndexKey,V>
implements org.apache.hadoop.mapred.Partitioner<InvertedIndex.InvertedIndexKey,V>
Partition on the word's hash code. This class extends org.apache.hadoop.mapreduce.Partitioner and implements org.apache.hadoop.mapred.Partitioner, so it can be used by both mapred and mapreduce versions of Inverted Index