use of com.enonic.xp.query.aggregation.metric.StatsAggregationQuery in project xp by enonic.
the class BucketAggregationQueryTest method generateSubQueries.
private List<AggregationQuery> generateSubQueries() {
final MaxAggregationQuery query1 = MaxAggregationQuery.create("query1").build();
final MinAggregationQuery query2 = MinAggregationQuery.create("query2").build();
final StatsAggregationQuery query3 = StatsAggregationQuery.create("query3").build();
final ValueCountAggregationQuery query4 = ValueCountAggregationQuery.create("query4").build();
return Arrays.asList(query1, query2, query3, query4);
}
Aggregations