Class QueryAggregation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.QueryAggregation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
GenericQueryAggregation
,QueryCalculationAggregation
,QueryFilterAggregation
,QueryGroupByAggregation
,QueryHistogramAggregation
,QueryNestedAggregation
,QueryTermAggregation
,QueryTimesliceAggregation
,QueryTopHitsAggregation
public class QueryAggregation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An abstract aggregation type produced by Discovery to analyze the input provided.
-
Constructor Summary
Constructors Constructor Description QueryAggregation()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
QueryAggregation
public QueryAggregation()
-
-
Method Details
-
getType
Gets the type.The type of aggregation command used. Options include: term, histogram, timeslice, nested, filter, min, max, sum, average, unique_count, and top_hits.
- Returns:
- the type
-