public class QueryHistogramAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.List<QueryAggregation> | aggregations | 
| protected java.lang.Long | key | 
| protected java.lang.Long | matchingResults | 
| Constructor and Description | 
|---|
| QueryHistogramAggregationResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<QueryAggregation> | getAggregations()Gets the aggregations. | 
| java.lang.Long | getKey()Gets the key. | 
| java.lang.Long | getMatchingResults()Gets the matchingResults. | 
protected java.lang.Long key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryAggregation> aggregations
public java.lang.Long getKey()
The value of the upper bound for the numeric segment.
public java.lang.Long getMatchingResults()
Number of documents with the specified key as the upper bound.
public java.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.