Package org.terrier.realtime.multi
Class BlockMultiIterablePosting
- java.lang.Object
-
- org.terrier.structures.postings.IterablePostingImpl
-
- org.terrier.realtime.multi.MultiIterablePosting
-
- org.terrier.realtime.multi.BlockMultiIterablePosting
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,BlockPosting
,IterablePosting
,Posting
public class BlockMultiIterablePosting extends MultiIterablePosting implements BlockPosting
-
-
Field Summary
-
Fields inherited from class org.terrier.realtime.multi.MultiIterablePosting
currentChild
-
Fields inherited from interface org.terrier.structures.postings.IterablePosting
END_OF_LIST, EOL
-
-
Constructor Summary
Constructors Constructor Description BlockMultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getPositions()
Return the positions of occurrences of the term in the current document.-
Methods inherited from class org.terrier.realtime.multi.MultiIterablePosting
asWritablePosting, close, endOfPostings, getDocumentLength, getFrequency, getId, next
-
Methods inherited from class org.terrier.structures.postings.IterablePostingImpl
next
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.terrier.structures.postings.IterablePosting
next
-
Methods inherited from interface org.terrier.structures.postings.Posting
asWritablePosting, getDocumentLength, getFrequency, getId, setId
-
-
-
-
Constructor Detail
-
BlockMultiIterablePosting
public BlockMultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
-
-
Method Detail
-
getPositions
public int[] getPositions()
Description copied from interface:BlockPosting
Return the positions of occurrences of the term in the current document.- Specified by:
getPositions
in interfaceBlockPosting
- Returns:
- the positions of occurrences of the term in the current document.
-
-