public class FieldDirectInvertedOutputStream extends DirectInvertedOutputStream
lastDocid, logger, output| Constructor and Description |
|---|
FieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with
|
FieldDirectInvertedOutputStream(OutputStream os) |
FieldDirectInvertedOutputStream(String filename)
Constructs an instance of the class with
|
| Modifier and Type | Method and Description |
|---|---|
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
|
close, getBitOffset, getBitOut, getByteOffset, getLastDocidWritten, getOffset, writeNoFieldPostings, writePostings, writePostings, writePostings, writePostings, writePostings, writePostingspublic FieldDirectInvertedOutputStream(BitOut out)
out - public FieldDirectInvertedOutputStream(String filename) throws IOException
filename - IOExceptionpublic FieldDirectInvertedOutputStream(OutputStream os) throws IOException
IOExceptionpublic Class<? extends IterablePosting> getPostingIteratorClass()
DirectInvertedOutputStreamgetPostingIteratorClass in class DirectInvertedOutputStreamprotected void writePostingNotDocid(Posting _p) throws IOException
DirectInvertedOutputStreamwritePostingNotDocid in class DirectInvertedOutputStreamIOExceptionTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow