|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.structures.DocumentIndexInputStream
uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.SimpleDocumentIndexInputStream
public class SimpleDocumentIndexInputStream
InputStream for a simple DocumentIndex. Only contains Docno and length of document
| Constructor Summary | |
|---|---|
SimpleDocumentIndexInputStream(java.lang.String path,
java.lang.String prefix)
A constructor of a document index input stream from an index path and prefix. |
|
| Method Summary | |
|---|---|
int |
readNextEntry()
Reads the next entry from the stream. |
| Methods inherited from class uk.ac.gla.terrier.structures.DocumentIndexInputStream |
|---|
close, getDocumentId, getDocumentLength, getDocumentNumber, getEndBitOffset, getEndOffset, getStartBitOffset, getStartOffset, print, setDocnoEntryLength, setIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDocumentIndexInputStream(java.lang.String path,
java.lang.String prefix)
path - String path to the indexprefix - String prefix of the filenames of the index| Method Detail |
|---|
public int readNextEntry()
throws java.io.IOException
DocumentIndexInputStream
readNextEntry in class DocumentIndexInputStreamjava.io.IOException - if an I/O error occurs.
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||