Class QueryGroupByAggregation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.QueryAggregation
com.ibm.watson.discovery.v2.model.QueryGroupByAggregation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryGroupByAggregation extends QueryAggregation
Returns the top values for the field specified.
-
Constructor Summary
Constructors Constructor Description QueryGroupByAggregation()
-
Method Summary
Modifier and Type Method Description List<QueryGroupByAggregationResult>
getResults()
Gets the results.Methods inherited from class com.ibm.watson.discovery.v2.model.QueryAggregation
getType
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
QueryGroupByAggregation
public QueryGroupByAggregation()
-
-
Method Details
-
getResults
Gets the results.Array of top values for the field.
- Returns:
- the results
-