|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.postings.IterablePostingImpl org.terrier.structures.indexing.singlepass.SimplePostingInRun.PIRPostingIterator
protected class SimplePostingInRun.PIRPostingIterator
Field Summary |
---|
Fields inherited from interface org.terrier.structures.postings.IterablePosting |
---|
EOL |
Constructor Summary | |
---|---|
SimplePostingInRun.PIRPostingIterator(int runShift)
|
Method Summary | |
---|---|
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator. |
void |
close()
|
boolean |
endOfPostings()
Status method to see if this posting list iterator has been finished |
int |
getDocumentLength()
Return the length of the document for this posting. |
int |
getFrequency()
Return the frequency of the term in the current document |
int |
getId()
Return the id of the current posting. |
int |
next()
Move this iterator to the next posting. |
protected void |
readPostingNotDocid()
|
void |
setId(int id)
It may be of benefit to update the frequency of the id in some applications. |
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 |
Constructor Detail |
---|
public SimplePostingInRun.PIRPostingIterator(int runShift)
Method Detail |
---|
protected void readPostingNotDocid() throws java.io.IOException
java.io.IOException
public int next() throws java.io.IOException
IterablePosting
java.io.IOException
public boolean endOfPostings()
IterablePosting
public int getDocumentLength()
Posting
public int getFrequency()
Posting
public int getId()
Posting
public void setId(int id)
Posting
public void close() throws java.io.IOException
java.io.IOException
public WritablePosting asWritablePosting()
Posting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |