Package org.kairosdb.client.response
Class QueryResult
- java.lang.Object
-
- org.kairosdb.client.response.QueryResult
-
public class QueryResult extends Object
Resulting object from a Query.
-
-
Constructor Summary
Constructors Constructor Description QueryResult(List<Result> results, long sampleSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ResultgetFirstResultByGroup(GroupResult matchingGroup)List<Result>getResults()longgetSampleSize()Returns the number of data points returned by the query prior to aggregation.inthashCode()StringtoString()
-
-
-
Method Detail
-
getSampleSize
public long getSampleSize()
Returns the number of data points returned by the query prior to aggregation. Aggregation by reduce the number of data points actually returned.- Returns:
- number of data points returned by the query
-
getFirstResultByGroup
public Result getFirstResultByGroup(GroupResult matchingGroup)
-
-