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.
|
next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
next
public MultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
public int next() throws IOException
next
in interface IterablePosting
IOException
public boolean endOfPostings()
endOfPostings
in interface IterablePosting
public int getId()
public int getFrequency()
getFrequency
in interface Posting
public int getDocumentLength()
getDocumentLength
in interface Posting
public WritablePosting asWritablePosting()
asWritablePosting
in interface Posting
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow