Uses of Class
com.ibm.watson.discovery.v2.model.QueryAggregation
| Package | Description |
|---|---|
| com.ibm.watson.discovery.v2.model | |
| com.ibm.watson.discovery.v2.query |
-
Uses of QueryAggregation in com.ibm.watson.discovery.v2.model
Subclasses of QueryAggregation in com.ibm.watson.discovery.v2.model Modifier and Type Class Description classQueryCalculationAggregationReturns a scalar calculation across all documents for the field specified.classQueryFilterAggregationA modifier that will narrow down the document set of the sub aggregations it precedes.classQueryGroupByAggregationReturns the top values for the field specified.classQueryHistogramAggregationNumeric interval segments to categorize documents by using field values from a single numeric field to describe the category.classQueryNestedAggregationA restriction that alter the document set used for sub aggregations it precedes to nested documents found in the field specified.classQueryTermAggregationReturns the top values for the field specified.classQueryTimesliceAggregationA specialized histogram aggregation that uses dates to create interval segments.classQueryTopHitsAggregationReturns the top documents ranked by the score of the query.Methods in com.ibm.watson.discovery.v2.model that return types with arguments of type QueryAggregation Modifier and Type Method Description List<QueryAggregation>QueryFilterAggregation. getAggregations()Gets the aggregations.List<QueryAggregation>QueryGroupByAggregationResult. getAggregations()Gets the aggregations.List<QueryAggregation>QueryHistogramAggregationResult. getAggregations()Gets the aggregations.List<QueryAggregation>QueryNestedAggregation. getAggregations()Gets the aggregations.List<QueryAggregation>QueryResponse. getAggregations()Gets the aggregations.List<QueryAggregation>QueryTermAggregationResult. getAggregations()Gets the aggregations.List<QueryAggregation>QueryTimesliceAggregationResult. getAggregations()Gets the aggregations. -
Uses of QueryAggregation in com.ibm.watson.discovery.v2.query
Subclasses of QueryAggregation in com.ibm.watson.discovery.v2.query Modifier and Type Class Description classGenericQueryAggregationDeprecated.This class is no longer necessary with the built-in deserialization logic in the QueryAggregation class.Methods in com.ibm.watson.discovery.v2.query that return QueryAggregation Modifier and Type Method Description QueryAggregationAggregationDeserializer. deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)Deprecated.Deserializes JSON and converts it to the appropriateQueryAggregationsubclass.