Class AggregationResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.AggregationResult
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Aggregation results for the specified query.
- 
Constructor SummaryConstructors Constructor Description AggregationResult()
- 
Method SummaryModifier and Type Method Description List<QueryAggregation>getAggregations()Gets the aggregations.StringgetKey()Gets the key.LonggetMatchingResults()Gets the matchingResults.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
AggregationResultpublic AggregationResult()
 
- 
- 
Method Details- 
getKeyGets the key.Key that matched the aggregation type. - Returns:
- the key
 
- 
getMatchingResultsGets the matchingResults.Number of matching results. - Returns:
- the matchingResults
 
- 
getAggregationsGets the aggregations.Aggregations returned in the case of chained aggregations. - Returns:
- the aggregations
 
 
-