public class TrecDocumentInputFormatOld extends IndexableFileInputFormatOld<org.apache.hadoop.io.LongWritable,TrecDocument>
InputFormat for processing the TREC collection.| Modifier and Type | Class and Description |
|---|---|
static class |
TrecDocumentInputFormatOld.TrecDocumentRecordReader
Hadoop
RecordReader for reading TREC-formatted documents. |
| Constructor and Description |
|---|
TrecDocumentInputFormatOld() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,TrecDocument> |
getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit,
org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapred.Reporter reporter)
Returns a
RecordReader for this InputFormat. |
public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,TrecDocument> getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit, org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapred.Reporter reporter) throws IOException
RecordReader for this InputFormat.getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.LongWritable,TrecDocument>getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.LongWritable,TrecDocument>IOExceptionCopyright © 2015. All rights reserved.