public class QueryResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryResult.Result |
static class |
QueryResult.Series |
| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getError() |
List<QueryResult.Result> |
getResults() |
boolean |
hasError()
Checks if this QueryResult has an error message.
|
void |
setError(String error) |
void |
setResults(List<QueryResult.Result> results) |
String |
toString() |
public List<QueryResult.Result> getResults()
public void setResults(List<QueryResult.Result> results)
results - the results to setpublic boolean hasError()
true if there is an error message, false if not.public String getError()
public void setError(String error)
error - the error to setCopyright © 2021. All rights reserved.