Class QueryResult


  • public class QueryResult
    extends Object
    Resulting object from a Query.
    • Constructor Detail

      • QueryResult

        public QueryResult​(List<Result> results,
                           long sampleSize)
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object