|
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.InvertedIndexInputStream
uk.ac.gla.terrier.structures.BlockInvertedIndexInputStream
public class BlockInvertedIndexInputStream
Reads a BlockInvertedIndex as a stream
| Constructor Summary | |
|---|---|
BlockInvertedIndexInputStream(BitIn invFile,
LexiconInputStream lis)
|
|
BlockInvertedIndexInputStream(java.lang.String filename,
LexiconInputStream lis)
Make a new BlockInvertedIndexInputStream from the specified filename. |
|
BlockInvertedIndexInputStream(java.lang.String path,
java.lang.String prefix,
LexiconInputStream lis)
Make a new BlockInvertedIndexInputStream from the specified path/prefix combo. |
|
| Method Summary | |
|---|---|
void |
print()
|
void |
setIndex(Index i)
let it know which index to use |
| Methods inherited from class uk.ac.gla.terrier.structures.InvertedIndexInputStream |
|---|
close, getNextDocuments, reOpenLegacyBitFile |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockInvertedIndexInputStream(java.lang.String path,
java.lang.String prefix,
LexiconInputStream lis)
throws java.io.IOException
java.io.IOException
public BlockInvertedIndexInputStream(java.lang.String filename,
LexiconInputStream lis)
throws java.io.IOException
filename - Location of the inverted file to open
java.io.IOException
public BlockInvertedIndexInputStream(BitIn invFile,
LexiconInputStream lis)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void setIndex(Index i)
setIndex in interface IndexConfigurablei - Index object to usepublic void print()
print in class InvertedIndexInputStream
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||