Package org.influxdb.dto
Class QueryResult
java.lang.Object
org.influxdb.dto.QueryResult
public class QueryResult extends Object
{Purpose of This Type}.
{Other Notes Relating to This Type (Optional)}
- Author:
- stefan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryResult.Result
static class
QueryResult.Series
-
Constructor Summary
Constructors Constructor Description QueryResult()
-
Method Summary
Modifier and Type Method 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()
-
Constructor Details
-
QueryResult
public QueryResult()
-
-
Method Details
-
getResults
- Returns:
- the results
-
setResults
- Parameters:
results
- the results to set
-
hasError
public boolean hasError()Checks if this QueryResult has an error message.- Returns:
true
if there is an error message,false
if not.
-
getError
- Returns:
- the error
-
setError
- Parameters:
error
- the error to set
-
toString
-