|
||||||||||
| 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.indexing.singlepass.SimplePostingInRun.PIRPostingIterator
org.terrier.structures.indexing.singlepass.FieldPostingInRun.fPIRPostingIterator
protected class FieldPostingInRun.fPIRPostingIterator
| Field Summary | |
|---|---|
protected int[] |
fieldFrequencies
|
| Fields inherited from interface org.terrier.structures.postings.IterablePosting |
|---|
EOL |
| Constructor Summary | |
|---|---|
FieldPostingInRun.fPIRPostingIterator(int runShift)
|
|
| Method Summary | |
|---|---|
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator. |
int[] |
getFieldFrequencies()
Returns the frequencies of the term in each field of the document |
int[] |
getFieldLengths()
Returns the lengths of the each fields in the current document |
protected void |
readPostingNotDocid()
|
| Methods inherited from class org.terrier.structures.indexing.singlepass.SimplePostingInRun.PIRPostingIterator |
|---|
close, endOfPostings, getDocumentLength, getFrequency, getId, 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 |
| Field Detail |
|---|
protected int[] fieldFrequencies
| Constructor Detail |
|---|
public FieldPostingInRun.fPIRPostingIterator(int runShift)
| Method Detail |
|---|
public int[] getFieldFrequencies()
FieldPosting
getFieldFrequencies in interface FieldPostingpublic int[] getFieldLengths()
FieldPosting
getFieldLengths in interface FieldPosting
protected void readPostingNotDocid()
throws java.io.IOException
readPostingNotDocid in class SimplePostingInRun.PIRPostingIteratorjava.io.IOExceptionpublic WritablePosting asWritablePosting()
Posting
asWritablePosting in interface PostingasWritablePosting in class SimplePostingInRun.PIRPostingIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||