protected class FieldPostingInRun.fPIRPostingIterator extends SimplePostingInRun.PIRPostingIterator implements FieldPosting
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
fieldFrequencies |
EOL| Constructor and Description |
|---|
FieldPostingInRun.fPIRPostingIterator(int runShift) |
| Modifier and Type | Method and Description |
|---|---|
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() |
void |
setFieldLengths(int[] fl)
.
|
close, endOfPostings, getDocumentLength, getFrequency, getId, next, setIdnextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentLength, getFrequency, getId, setIdpublic FieldPostingInRun.fPIRPostingIterator(int runShift)
public int[] getFieldFrequencies()
FieldPostinggetFieldFrequencies in interface FieldPostingpublic int[] getFieldLengths()
FieldPostinggetFieldLengths in interface FieldPostingpublic void setFieldLengths(int[] fl)
setFieldLengths in interface FieldPostingprotected void readPostingNotDocid()
throws IOException
readPostingNotDocid in class SimplePostingInRun.PIRPostingIteratorIOExceptionpublic WritablePosting asWritablePosting()
PostingasWritablePosting in interface PostingasWritablePosting in class SimplePostingInRun.PIRPostingIteratorTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow