use of com.yahoo.bullet.query.aggregations.CountDistinct in project bullet-core by yahoo.
the class QueryUtils method makeCountDistinctQuery.
public static Query makeCountDistinctQuery(List<String> fields, String name) {
CountDistinct countDistinct = new CountDistinct(fields, name);
Query query = new Query(new Projection(), null, countDistinct, null, new Window(), null);
query.configure(new BulletConfig());
return query;
}
Aggregations