public class MultiIterablePosting extends IterablePostingImpl implements IterablePosting
EOL| Constructor and Description |
|---|
MultiIterablePosting(IterablePosting[] constituentIPs,
int[] offsets)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
WritablePosting |
asWritablePosting()
Not implemented.
|
void |
close()
Not implemented.
|
boolean |
endOfPostings()
Status method to see if this posting list iterator has been finished
|
int |
getDocumentLength()
Return the length of the document for this posting.
|
int |
getFrequency()
Return the frequency of the term in the current document
|
int |
getId()
Return the id of the current posting.
|
int |
next()
Move this iterator to the next posting.
|
void |
setId(int id)
Not implemented.
|
nextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextpublic MultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
public int next()
throws IOException
next in interface IterablePostingIOExceptionpublic boolean endOfPostings()
endOfPostings in interface IterablePostingpublic int getId()
public int getFrequency()
getFrequency in interface Postingpublic int getDocumentLength()
getDocumentLength in interface Postingpublic WritablePosting asWritablePosting()
asWritablePosting in interface Postingpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow