|
||||||||||
| 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
public class FieldDirectInvertedOutputStream
Bit out class for writing a posting list with fields
| Field Summary |
|---|
| Fields inherited from class org.terrier.structures.DirectInvertedOutputStream |
|---|
logger, output |
| Constructor Summary | |
|---|---|
FieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with |
|
FieldDirectInvertedOutputStream(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 FieldDirectInvertedOutputStream(BitOut out)
out -
public FieldDirectInvertedOutputStream(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 DirectInvertedOutputStream
protected void writePostingNotDocid(Posting _p)
throws java.io.IOException
DirectInvertedOutputStream
writePostingNotDocid in class DirectInvertedOutputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||