AggregationQuery
data class AggregationQuery(val filter: FilterExpression = MatchAllFilter, val elements: List<AggregationElement> = emptyList(), val groupBy: List<AggregationGroup> = emptyList(), val metrics: List<AggregationMetric>, val sort: List<Sort> = emptyList(), val limit: Int = DEFAULT_LIMIT, val having: HavingExpression? = null) : FilterCapable<AggregationQuery> , SortCapable
Constructors
Link copied to clipboard
constructor(filter: FilterExpression = MatchAllFilter, elements: List<AggregationElement> = emptyList(), groupBy: List<AggregationGroup> = emptyList(), metrics: List<AggregationMetric>, sort: List<Sort> = emptyList(), limit: Int = DEFAULT_LIMIT, having: HavingExpression? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The list of sort criteria to apply to the query results. Each sort criterion specifies a field and direction (ascending/descending). Sorts are applied in the order they appear in the list, at most Sort.MAX_FIELDS of them.