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, setId
next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
public FieldPostingInRun.fPIRPostingIterator(int runShift)
public int[] getFieldFrequencies()
FieldPosting
getFieldFrequencies
in interface FieldPosting
public int[] getFieldLengths()
FieldPosting
getFieldLengths
in interface FieldPosting
public void setFieldLengths(int[] fl)
setFieldLengths
in interface FieldPosting
protected void readPostingNotDocid() throws IOException
readPostingNotDocid
in class SimplePostingInRun.PIRPostingIterator
IOException
public WritablePosting asWritablePosting()
Posting
asWritablePosting
in interface Posting
asWritablePosting
in class SimplePostingInRun.PIRPostingIterator
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow