Package io.activej.aggregation
Class AggregationQuery
java.lang.Object
io.activej.aggregation.AggregationQuery
- All Implemented Interfaces:
io.activej.common.initializer.WithInitializer<AggregationQuery>
public final class AggregationQuery
extends Object
implements io.activej.common.initializer.WithInitializer<AggregationQuery>
Represents a query to aggregation. Contains the list of requested keys, fields, predicates and orderings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AggregationQuerycreate()static AggregationQuerystatic AggregationQuerybooleangetKeys()inthashCode()toString()withMeasure(String field) withMeasures(String... fields) withMeasures(List<String> fields) withPredicate(AggregationPredicate predicate) withPredicates(List<AggregationPredicate> predicates) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.activej.common.initializer.WithInitializer
withInitializer
-
Method Details
-
create
-
create
-
create
public static AggregationQuery create(List<String> keys, List<String> measures, AggregationPredicate predicate) -
getKeys
-
getMeasures
-
getAllKeys
-
getPredicate
-
withKey
-
withKeys
-
withKeys
-
withMeasures
-
withMeasures
-
withMeasure
-
withPredicate
-
withPredicates
-
toString
-
equals
-
hashCode
public int hashCode()
-