public class BlockORIterablePosting extends ORIterablePosting implements BlockPosting
EOL| Constructor and Description |
|---|
BlockORIterablePosting(IterablePosting[] ips)
Construct an intance of the BlockORIterablePosting.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPosting(Posting p) |
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
protected void |
firstPosting(Posting p) |
int[] |
getPositions()
Return positions of occurrences
|
close, endOfPostings, getDocumentLength, getFrequency, getId, mergePostings, next, setIdnextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentLength, getFrequency, getId, setIdpublic BlockORIterablePosting(IterablePosting[] ips) throws IOException
ips - IOExceptionpublic int[] getPositions()
BlockPostinggetPositions in interface BlockPostingprotected void addPosting(Posting p)
addPosting in class ORIterablePostingprotected void firstPosting(Posting p)
firstPosting in class ORIterablePostingpublic WritablePosting asWritablePosting()
ORIterablePostingasWritablePosting in interface PostingasWritablePosting in class ORIterablePostingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow