|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terrier.structures.DirectInvertedOutputStream
org.terrier.structures.FieldDirectInvertedOutputStream
org.terrier.structures.BlockFieldDirectInvertedOutputStream
public class BlockFieldDirectInvertedOutputStream
Writes out a blocks and fields direct index to an output stream
| Field Summary |
|---|
| Fields inherited from class org.terrier.structures.DirectInvertedOutputStream |
|---|
logger, output |
| Constructor Summary | |
|---|---|
BlockFieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with |
|
BlockFieldDirectInvertedOutputStream(java.lang.String filename)
Constructs an instance of the class with |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends IterablePosting> |
getPostingIteratorClass()
Returns the IterablePosting class to use for reading structure written by this class |
protected void |
writePostingNotDocid(Posting _p)
Hook method for writing out the remainder of the posting |
| Methods inherited from class org.terrier.structures.DirectInvertedOutputStream |
|---|
close, getBitOffset, getBitOut, getByteOffset, getOffset, writeNoFieldPostings, writePostings, writePostings, writePostings, writePostings, writePostings, writePostings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockFieldDirectInvertedOutputStream(BitOut out)
out -
public BlockFieldDirectInvertedOutputStream(java.lang.String filename)
throws java.io.IOException
filename -
java.io.IOException| Method Detail |
|---|
public java.lang.Class<? extends IterablePosting> getPostingIteratorClass()
DirectInvertedOutputStream
getPostingIteratorClass in class FieldDirectInvertedOutputStream
protected void writePostingNotDocid(Posting _p)
throws java.io.IOException
DirectInvertedOutputStream
writePostingNotDocid in class FieldDirectInvertedOutputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||