public class BlockORIterablePosting extends ORIterablePosting implements BlockPosting
END_OF_LIST, 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, next, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
public BlockORIterablePosting(IterablePosting[] ips) throws IOException
ips
- IOException
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
protected void addPosting(Posting p)
addPosting
in class ORIterablePosting
protected void firstPosting(Posting p)
firstPosting
in class ORIterablePosting
public WritablePosting asWritablePosting()
ORIterablePosting
asWritablePosting
in interface Posting
asWritablePosting
in class ORIterablePosting
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow