Class QueryHistogramAggregationResult

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.QueryHistogramAggregationResult
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class QueryHistogramAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Histogram numeric interval result.
  • Constructor Details

    • QueryHistogramAggregationResult

      public QueryHistogramAggregationResult()
  • Method Details

    • getKey

      public Long getKey()
      Gets the key.

      The value of the upper bound for the numeric segment.

      Returns:
      the key
    • getMatchingResults

      public Long getMatchingResults()
      Gets the matchingResults.

      Number of documents with the specified key as the upper bound.

      Returns:
      the matchingResults
    • getAggregations

      public List<QueryAggregation> getAggregations()
      Gets the aggregations.

      An array of sub-aggregations.

      Returns:
      the aggregations