|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terrier.structures.BitPostingIndexInputStream
org.terrier.structures.InvertedIndexInputStream
public class InvertedIndexInputStream
Reads an InvertedIndex as a stream
| Field Summary |
|---|
| Fields inherited from class org.terrier.structures.BitPostingIndexInputStream |
|---|
currentEntryCount, currentFile, currentPointer, doi, entriesSkipped, fieldCount, file, fileCount, index, logger, pointerList, postingConstructor, postingIteratorClass, structureName |
| Constructor Summary | |
|---|---|
InvertedIndexInputStream(Index _index,
java.lang.String structureName)
Construct an instance of the class with |
|
InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.lang.Class<? extends IterablePosting> _postingIteratorClass)
Construct an instance of the class with |
|
InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.util.Iterator<? extends Pointer> lexInputStream)
Construct an instance of the class with |
|
InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.util.Iterator<? extends Pointer> lexInputStream,
java.lang.Class<? extends IterablePosting> _postingIteratorClass)
Construct an instance of the class with |
|
| Method Summary | |
|---|---|
int[][] |
getNextDocuments()
Get the set of documents for the next term |
protected int[][] |
getNextDocuments(BitIndexPointer pointer)
Get the set of documents for the given term pointer |
| Methods inherited from class org.terrier.structures.BitPostingIndexInputStream |
|---|
_next, close, getCurrentPointer, getDocumentIndex, getEntriesSkipped, getFilename, getFilename, getNextPostings, getNumberOfCurrentPostings, getPos, hasNext, loadPostingIterator, next, print, remove, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvertedIndexInputStream(Index _index,
java.lang.String structureName)
throws java.io.IOException
_index - structureName -
java.io.IOException
public InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.util.Iterator<? extends Pointer> lexInputStream)
throws java.io.IOException
_index - structureName - lexInputStream -
java.io.IOException
public InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.util.Iterator<? extends Pointer> lexInputStream,
java.lang.Class<? extends IterablePosting> _postingIteratorClass)
throws java.io.IOException
_index - structureName - lexInputStream - _postingIteratorClass -
java.io.IOException
public InvertedIndexInputStream(Index _index,
java.lang.String structureName,
java.lang.Class<? extends IterablePosting> _postingIteratorClass)
throws java.io.IOException
_index - structureName - _postingIteratorClass -
java.io.IOException| Method Detail |
|---|
public int[][] getNextDocuments()
throws java.io.IOException
java.io.IOException
protected int[][] getNextDocuments(BitIndexPointer pointer)
throws java.io.IOException
pointer - for the number of documents
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||