protected static void renderAggregation(StringWriter writer,String name,boolean distinct,List<Expression> children){
  writer.write(name);
  writer.write("(");
  if (distinct) {
    writer.write("distinct ");
  }
  String delimiter="";
  for (  Expression param : children) {
    writer.write(delimiter);
    delimiter=",";
    param.toEPL(writer,ExpressionPrecedenceEnum.MINIMUM);
  }
  writer.write(")");
}

protected static void renderAggregation ( StringWriter writer , String name , boolean distinct , List < Expression > children ) { writer . write ( name ) ; writer . write ( "(" ) ; if ( distinct ) { writer . write ( "distinct " ) ; } String delimiter = "" ; for ( Expression param : children ) { writer . write ( delimiter ) ; delimiter = "," ; param . toEPL ( writer , ExpressionPrecedenceEnum . MINIMUM ) ; } writer . write ( ")" ) ; }
render an aggregation function with distinct and parameter expressions
