protected class BlockFieldPostingInRun.bfPIRPostingIterator extends SimplePostingInRun.PIRPostingIterator implements FieldPosting, BlockPosting
| Modifier and Type | Field and Description |
|---|---|
protected int |
blockFreq |
protected int[] |
blockIds |
protected int[] |
fieldFrequencies |
EOL| Constructor and Description |
|---|
BlockFieldPostingInRun.bfPIRPostingIterator(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
|
int[] |
getPositions()
Return positions of occurrences
|
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, setIdprotected int[] fieldFrequencies
protected int blockFreq
protected int[] blockIds
public BlockFieldPostingInRun.bfPIRPostingIterator(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 int[] getPositions()
BlockPostinggetPositions in interface BlockPostingpublic WritablePosting asWritablePosting()
PostingasWritablePosting in interface PostingasWritablePosting in class SimplePostingInRun.PIRPostingIteratorTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow