public interface IterablePosting extends Posting, Closeable
Modifier and Type | Field and Description |
---|---|
static int |
END_OF_LIST |
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
static final int END_OF_LIST
int next() throws IOException
IOException
int next(int targetId) throws IOException
targetId
- id of the posting to find in this posting list.IOException
boolean endOfPostings()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow