public class AggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.String |
key |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
AggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.String |
getKey()
Gets the key.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
protected java.lang.String key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryAggregation> aggregations
public java.lang.String getKey()
Key that matched the aggregation type.
public java.lang.Long getMatchingResults()
Number of matching results.
public java.util.List<QueryAggregation> getAggregations()
Aggregations returned in the case of chained aggregations.