| Package | Description | 
|---|---|
| com.ibm.watson.discovery.v2.model | |
| com.ibm.watson.discovery.v2.query | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
QueryCalculationAggregation
Returns a scalar calculation across all documents for the field specified. 
 | 
class  | 
QueryFilterAggregation
A modifier that will narrow down the document set of the sub aggregations it precedes. 
 | 
class  | 
QueryGroupByAggregation
Returns the top values for the field specified. 
 | 
class  | 
QueryHistogramAggregation
Numeric interval segments to categorize documents by using field values from a single numeric
 field to describe the category. 
 | 
class  | 
QueryNestedAggregation
A restriction that alter the document set used for sub aggregations it precedes to nested
 documents found in the field specified. 
 | 
class  | 
QueryTermAggregation
Returns the top values for the field specified. 
 | 
class  | 
QueryTimesliceAggregation
A specialized histogram aggregation that uses dates to create interval segments. 
 | 
class  | 
QueryTopHitsAggregation
Returns the top documents ranked by the score of the query. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<QueryAggregation> | 
QueryHistogramAggregationResult.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryFilterAggregation.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryTermAggregationResult.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryResponse.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryTimesliceAggregationResult.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryGroupByAggregationResult.getAggregations()
Gets the aggregations. 
 | 
List<QueryAggregation> | 
QueryNestedAggregation.getAggregations()
Gets the aggregations. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GenericQueryAggregation
Deprecated. 
 
This class is no longer necessary with the built-in deserialization logic in the
     QueryAggregation class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
QueryAggregation | 
AggregationDeserializer.deserialize(com.google.gson.JsonElement json,
           Type typeOfT,
           com.google.gson.JsonDeserializationContext context)
Deprecated.  
Deserializes JSON and converts it to the appropriate  
QueryAggregation subclass. | 
Copyright © 2021 IBM Cloud. All rights reserved.