public class QueryAggregation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description | 
|---|
QueryAggregation()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<QueryAggregation> | 
getAggregations()
Gets the aggregations. 
 | 
Long | 
getMatchingResults()
Gets the matchingResults. 
 | 
List<AggregationResult> | 
getResults()
Gets the results. 
 | 
String | 
getType()
Gets the type. 
 | 
public String getType()
The type of aggregation command used. For example: term, filter, max, min, etc.
public List<AggregationResult> getResults()
Array of aggregation results.
public Long getMatchingResults()
Number of matching results.
public List<QueryAggregation> getAggregations()
Aggregations returned by Discovery.
Copyright © 2021 IBM Cloud. All rights reserved.