| Package | Description | 
|---|---|
| org.terrier.structures.indexing.singlepass.hadoop | Provides classes implemeting the Hadoop MapReduce indexing in Terrier. | 
| Modifier and Type | Method and Description | 
|---|---|
| SplitAwareWrapper<Document> | CollectionRecordReader. createValue()Create a new Text value,
 each value is a document | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,SplitAwareWrapper<Document>> | MultiFileCollectionInputFormat. getRecordReader(org.apache.hadoop.mapred.InputSplit genericSplit,
               org.apache.hadoop.mapred.JobConf job,
               org.apache.hadoop.mapred.Reporter reporter) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Hadoop_BasicSinglePassIndexer. map(org.apache.hadoop.io.Text key,
   SplitAwareWrapper<Document> value,
   org.apache.hadoop.mapred.OutputCollector<SplitEmittedTerm,MapEmittedPostingList> _outputPostingListCollector,
   org.apache.hadoop.mapred.Reporter reporter)Map processes a single document. | 
| boolean | CollectionRecordReader. next(org.apache.hadoop.io.Text DocID,
    SplitAwareWrapper<Document> document)Moves to the next Document in the Collections accessing this InputSplit
 if one exists, setting DocID to the property
 "DOCID" and Document to the text within the
 document. | 
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow