public class GeometrySearchResponse extends java.lang.Object implements java.io.Serializable, SearchResponse
Modifier and Type | Field and Description |
---|---|
protected ResponseError |
error
Error code and description.
|
protected GeometrySearchResult[] |
results
Result list.
|
protected Summary |
summary
This section contains basic information about returned results.
|
Constructor and Description |
---|
GeometrySearchResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
The error message, as returned by the server.
|
ImmutableList<GeometrySearchResult> |
getResults() |
boolean |
hasError()
True if an error occurred, false otherwise.
|
boolean |
hasResults()
Specifies if the results where retrieved from fuzzy search request.
|
protected Summary summary
protected GeometrySearchResult[] results
protected ResponseError error
public ImmutableList<GeometrySearchResult> getResults()
public boolean hasError()
SearchResponse
hasError
in interface SearchResponse
true
if an error occurred, false
otherwisepublic java.lang.String getErrorMessage()
SearchResponse
getErrorMessage
in interface SearchResponse
public boolean hasResults()