org.terrier.structures.indexing.singlepass
Class FieldPostingInRun.fPIRPostingIterator
java.lang.Object
org.terrier.structures.postings.IterablePostingImpl
org.terrier.structures.indexing.singlepass.SimplePostingInRun.PIRPostingIterator
org.terrier.structures.indexing.singlepass.FieldPostingInRun.fPIRPostingIterator
- All Implemented Interfaces:
- Closeable, FieldPosting, IterablePosting, Posting
- Enclosing class:
- FieldPostingInRun
protected class FieldPostingInRun.fPIRPostingIterator
- extends SimplePostingInRun.PIRPostingIterator
- implements FieldPosting
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fieldFrequencies
protected int[] fieldFrequencies
FieldPostingInRun.fPIRPostingIterator
public FieldPostingInRun.fPIRPostingIterator(int runShift)
getFieldFrequencies
public int[] getFieldFrequencies()
- Description copied from interface:
FieldPosting
- Returns the frequencies of the term in each field of the document
- Specified by:
getFieldFrequencies
in interface FieldPosting
getFieldLengths
public int[] getFieldLengths()
- Description copied from interface:
FieldPosting
- Returns the lengths of the each fields in the current document
- Specified by:
getFieldLengths
in interface FieldPosting
setFieldLengths
public void setFieldLengths(int[] fl)
- .
This operation is unsupported.
- Specified by:
setFieldLengths
in interface FieldPosting
readPostingNotDocid
protected void readPostingNotDocid()
throws IOException
- Overrides:
readPostingNotDocid
in class SimplePostingInRun.PIRPostingIterator
- Throws:
IOException
asWritablePosting
public WritablePosting asWritablePosting()
- Description copied from interface:
Posting
- Copies this posting to one free of an iterator. Kind of like a clone.
- Specified by:
asWritablePosting
in interface Posting
- Overrides:
asWritablePosting
in class SimplePostingInRun.PIRPostingIterator
- Returns:
- an identical posting, but which can be maniulated free of this iterator
Terrier 3.6. Copyright © 2004-2011 University of Glasgow