|
||||||||||
| 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.FieldORIterablePosting
org.terrier.structures.postings.BlockFieldORIterablePosting
public class BlockFieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting and BlockPosting
| Field Summary |
|---|
| Fields inherited from interface org.terrier.structures.postings.IterablePosting |
|---|
EOL |
| Constructor Summary | |
|---|---|
BlockFieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of the BlockFieldORIterablePosting |
|
| 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.FieldORIterablePosting |
|---|
getFieldFrequencies, getFieldLengths |
| 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 BlockFieldORIterablePosting(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 FieldORIterablePostingprotected void firstPosting(Posting p)
firstPosting in class FieldORIterablePostingpublic WritablePosting asWritablePosting()
ORIterablePosting
asWritablePosting in interface PostingasWritablePosting in class FieldORIterablePosting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||