public abstract class AbstractPostingOutputStream extends Object
Constructor and Description |
---|
AbstractPostingOutputStream() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract int |
getLastDocidWritten() |
abstract BitFilePosition |
getOffset() |
abstract Class<? extends IterablePosting> |
getPostingIteratorClass() |
abstract BitIndexPointer |
writePostings(int[][] postings,
int startOffset,
int Length,
int firstId) |
abstract BitIndexPointer |
writePostings(IterablePosting postings) |
abstract BitIndexPointer |
writePostings(IterablePosting postings,
int previousId) |
abstract BitIndexPointer |
writePostings(Iterator<Posting> iterator) |
abstract BitIndexPointer |
writePostings(Iterator<Posting> iterator,
int previousId) |
public abstract BitFilePosition getOffset()
public abstract int getLastDocidWritten()
public abstract void close()
public abstract BitIndexPointer writePostings(int[][] postings, int startOffset, int Length, int firstId) throws IOException
IOException
public abstract BitIndexPointer writePostings(IterablePosting postings) throws IOException
IOException
public abstract BitIndexPointer writePostings(IterablePosting postings, int previousId) throws IOException
IOException
public abstract BitIndexPointer writePostings(Iterator<Posting> iterator, int previousId) throws IOException
IOException
public abstract BitIndexPointer writePostings(Iterator<Posting> iterator) throws IOException
IOException
public abstract Class<? extends IterablePosting> getPostingIteratorClass()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow