Package org.yaac.server.egql.evaluator

Examples of org.yaac.server.egql.evaluator.AggregationEvaluator


  @Test
  public void testAggregationEvaluatorOnly() {
    SelectStatement stmt = new SelectStatement();
    stmt.setSelectClause(new SelectClause().add(
        new AggregationEvaluator("count", null))
        .add(new AggregationEvaluator("sum", null)));
   
    assertTrue(stmt.aggregationEvaluatorOnly());
   
    stmt.getSelectClause().add(new FieldEvaluator("a.b"));
    assertFalse(stmt.aggregationEvaluatorOnly());
View Full Code Here

TOP

Related Classes of org.yaac.server.egql.evaluator.AggregationEvaluator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.