public class InvertedIndexMapred
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
InvertedIndexMapred.InvertedIndexMapper
Inverted Index mapper class for
TextInputFormat and FileSplit This class uses the file name obtained from FileSplit as the location of the word, and the value of the LongWritable key of TextInputFormat as the offset of the word in that file. |
static class |
InvertedIndexMapred.InvertedIndexReducer
The inverted index reducer class for mapred API
|
Constructor and Description |
---|
InvertedIndexMapred() |