| Package | Description |
|---|---|
| edu.umd.cloud9.collection.trec |
Provides classes for working with the TREC collection (particularly
disks 4 and 5).
|
| Modifier and Type | Method and Description |
|---|---|
TrecDocument |
TrecDocumentInputFormatOld.TrecDocumentRecordReader.createValue()
Creates an object for the value.
|
TrecDocument |
TrecForwardIndex.getDocument(int docno) |
TrecDocument |
TrecForwardIndex.getDocument(String docid) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,TrecDocument> |
TrecDocumentInputFormatOld.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. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TrecDocumentInputFormatOld.TrecDocumentRecordReader.next(org.apache.hadoop.io.LongWritable key,
TrecDocument value)
Reads the next key-value pair.
|
static void |
TrecDocument.readDocument(TrecDocument doc,
String s)
Reads a raw XML string into a
TrecDocument object. |
Copyright © 2015. All rights reserved.