@Test void can_collect_group_by_items_in_group_by_clause() { QuerySpecification querySpec = collect( "SELECT name, ABS(age) FROM test GROUP BY name, ABS(age)"); assertEquals( ImmutableList.of( qualifiedName("name"), function("ABS", qualifiedName("age"))), querySpec.getGroupByItems()); }
public void collect(QuerySpecificationContext query, String queryString) { query.accept(new QuerySpecificationCollector(queryString)); }
QuerySpecification { public void collect(QuerySpecificationContext query, String queryString) { query.accept(new QuerySpecificationCollector(queryString)); } }
QuerySpecification { public void collect(QuerySpecificationContext query, String queryString) { query.accept(new QuerySpecificationCollector(queryString)); }  }
QuerySpecification { public void collect(QuerySpecificationContext query, String queryString) { query.accept(new QuerySpecificationCollector(queryString)); }  void collect(QuerySpecificationContext query, String queryString); }
QuerySpecification { public void collect(QuerySpecificationContext query, String queryString) { query.accept(new QuerySpecificationCollector(queryString)); }  void collect(QuerySpecificationContext query, String queryString);  }