|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terrier.structures.postings.IterablePostingImpl
org.terrier.structures.postings.ORIterablePosting
org.terrier.structures.postings.BlockORIterablePosting
public class BlockORIterablePosting
ORIterablePosting implementation that implements BlockPosting
| Field Summary |
|---|
| Fields inherited from interface org.terrier.structures.postings.IterablePosting |
|---|
EOL |
| Constructor Summary | |
|---|---|
BlockORIterablePosting(IterablePosting[] ips)
Construct an intance of the BlockORIterablePosting. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.terrier.structures.postings.ORIterablePosting |
|---|
close, endOfPostings, getDocumentLength, getFrequency, getId, mergePostings, next, setId |
| 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.Posting |
|---|
getDocumentLength, getFrequency, getId, setId |
| Constructor Detail |
|---|
public BlockORIterablePosting(IterablePosting[] ips)
throws java.io.IOException
ips -
java.io.IOException| Method Detail |
|---|
public int[] getPositions()
BlockPosting
getPositions in interface BlockPostingprotected void addPosting(Posting p)
addPosting in class ORIterablePostingprotected void firstPosting(Posting p)
firstPosting in class ORIterablePostingpublic WritablePosting asWritablePosting()
ORIterablePosting
asWritablePosting in interface PostingasWritablePosting in class ORIterablePosting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||