public final class SearchResult extends Object
| Constructor and Description |
|---|
SearchResult()
Creates a new search result with a
null paged results cookie and
no estimate of the total number of remaining results. |
SearchResult(String pagedResultsCookie,
int remainingPagedResults)
Creates a new search result with the provided paged results cookie and
estimate of the total number of remaining results.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPagedResultsCookie()
Returns the opaque cookie which should be used with the next paged
results search request.
|
int |
getRemainingPagedResults()
Returns an estimate of the total number of remaining results to be
returned in subsequent paged results search requests.
|
public SearchResult()
null paged results cookie and
no estimate of the total number of remaining results.public SearchResult(String pagedResultsCookie, int remainingPagedResults)
pagedResultsCookie - The opaque cookie which should be used with the next paged
results search request, or null if paged results were
not requested, or if there are not more pages to be returned.remainingPagedResults - An estimate of the total number of remaining results to be
returned in subsequent paged results search requests, or
-1 if paged results were not requested, or if the
total number of remaining results is unknown.public String getPagedResultsCookie()
null if paged results were not
requested, or if there are not more pages to be returned.public int getRemainingPagedResults()
-1 if paged results were not requested, or if the total
number of remaining results is unknown.Copyright © 2014. All rights reserved.