public interface SearchResultsIterator
SearchResults| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Determines whether there are any more results in the iterator.
|
java.lang.Object |
next()
Retrieves the next result in the iterator.
|
void |
remove()
Removes from the underlying search results the last result returned by
the iterator.
|
boolean hasNext()
throws PartialResultsException
PartialResultsException - Thrown if an error was detected
trying to determine if any more results exist.java.lang.Object next()
throws PartialResultsException
PartialResultsException - Thrown if an error was detected
trying to obtain the next result in the iterator,
possibly due to server unavailability or a size limit being
exceeded.java.util.NoSuchElementException - If attempting to get the next result
when none is available.void remove()