public class BlockFieldDirectInvertedOutputStream extends FieldDirectInvertedOutputStream
lastDocid, logger, output
Constructor and Description |
---|
BlockFieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with
|
BlockFieldDirectInvertedOutputStream(OutputStream os) |
BlockFieldDirectInvertedOutputStream(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, writePostings
public BlockFieldDirectInvertedOutputStream(BitOut out)
out
- public BlockFieldDirectInvertedOutputStream(String filename) throws IOException
filename
- IOException
public BlockFieldDirectInvertedOutputStream(OutputStream os) throws IOException
IOException
public Class<? extends IterablePosting> getPostingIteratorClass()
DirectInvertedOutputStream
getPostingIteratorClass
in class FieldDirectInvertedOutputStream
protected void writePostingNotDocid(Posting _p) throws IOException
DirectInvertedOutputStream
writePostingNotDocid
in class FieldDirectInvertedOutputStream
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow