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 Summary
Constructors Constructor Description QueryHistogramAggregationResult()
-
Method Summary
Modifier and Type Method Description List<QueryAggregation>
getAggregations()
Gets the aggregations.Long
getKey()
Gets the key.Long
getMatchingResults()
Gets the matchingResults.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
QueryHistogramAggregationResult
public QueryHistogramAggregationResult()
-
-
Method Details
-
getKey
Gets the key.The value of the upper bound for the numeric segment.
- Returns:
- the key
-
getMatchingResults
Gets the matchingResults.Number of documents with the specified key as the upper bound.
- Returns:
- the matchingResults
-
getAggregations
Gets the aggregations.An array of sub aggregations.
- Returns:
- the aggregations
-