copy
fun copy(filter: FilterExpression = this.filter, elements: List<AggregationElement> = this.elements, groupBy: List<AggregationGroup> = this.groupBy, metrics: List<AggregationMetric> = this.metrics, sort: List<Sort> = this.sort, limit: Int = this.limit, having: HavingExpression? = this.having): AggregationQuery
This AggregationQuery with the given values replaced; for Wow's own query rewriting.