public interface SearchResults
SearchResult| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection with the remote resource.
|
RequestStatus |
getRequestStatus()
Gets the status of the search request.
|
boolean |
hasNext()
True if there is another element to be iterated over
|
SearchResult |
next()
The next value in the sequence
|
RequestStatus getRequestStatus()
boolean hasNext()
throws RemoteServicesException
RemoteServicesException - if there was a problem while attempting to determine if there is a next elementSearchResult next() throws RemoteServicesException
RemoteServicesException - if there was a problem obtaining the next elementvoid close()
throws RemoteServicesException
RemoteServicesException - if the search results were not able to be closed