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 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.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 class
GenericQueryAggregation
Deprecated.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 QueryAggregation
AggregationDeserializer. deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
Deprecated.Deserializes JSON and converts it to the appropriateQueryAggregation
subclass.