public interface IterablePosting extends Posting, Closeable
Modifier and Type | Field and Description |
---|---|
static int |
EOL
Value which denotes that the end of the posting list has been reached
|
Modifier and Type | Method and Description |
---|---|
boolean |
endOfPostings()
Status method to see if this posting list iterator has been finished
|
int |
next()
Move this iterator to the next posting.
|
int |
next(int targetId)
Move this iterator to the posting with specified id, or next posting after that.
|
asWritablePosting, getDocumentLength, getFrequency, getId, setId
static final int EOL
int next() throws IOException
IOException
int next(int targetId) throws IOException
targetId
- id of the posting to find in this postingn list.IOException
boolean endOfPostings()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow