org.terrier.structures.indexing.singlepass
Class BlockPostingInRun.BlockPIRPostingIterator
java.lang.Object
org.terrier.structures.postings.IterablePostingImpl
org.terrier.structures.indexing.singlepass.SimplePostingInRun.PIRPostingIterator
org.terrier.structures.indexing.singlepass.BlockPostingInRun.BlockPIRPostingIterator
- All Implemented Interfaces:
- Closeable, BlockPosting, IterablePosting, Posting
- Enclosing class:
- BlockPostingInRun
protected class BlockPostingInRun.BlockPIRPostingIterator
- extends SimplePostingInRun.PIRPostingIterator
- implements BlockPosting
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockPostingInRun.BlockPIRPostingIterator
public BlockPostingInRun.BlockPIRPostingIterator(int runShift)
readPostingNotDocid
protected void readPostingNotDocid()
throws IOException
- Overrides:
readPostingNotDocid
in class SimplePostingInRun.PIRPostingIterator
- Throws:
IOException
getPositions
public int[] getPositions()
- Description copied from interface:
BlockPosting
- Return positions of occurrences
- Specified by:
getPositions
in interface BlockPosting
asWritablePosting
public WritablePosting asWritablePosting()
- Description copied from interface:
Posting
- Copies this posting to one free of an iterator. Kind of like a clone.
- Specified by:
asWritablePosting
in interface Posting
- Overrides:
asWritablePosting
in class SimplePostingInRun.PIRPostingIterator
- Returns:
- an identical posting, but which can be maniulated free of this iterator
Terrier 3.6. Copyright © 2004-2011 University of Glasgow