Concat aggregator parsing
jAgg - Java Aggregation Operations
Status: Beta
Brought to you by:
rgettman
This example does not work (separator parsed as empty):
Aggregator agg = Aggregator.getAggregator("Concat(property, \",\")")
The constructor:
public ConcatAggregator(String property)
{
this(property, "");
}
Must be:
public ConcatAggregator(String property)
{
setProperty(property);
}
because setProperty(property) initialize also the separator !
Anonymous
The separator wasn't being processed properly from the aggregator specification string. Your analysis is correct. The constructor should call
setProperty.I'll make your change and include it in the next version of jAgg.
Thanks,
Randy Gettman
This is now resolved. It has been released as part of jAgg 0.9.0, on November 13, 2014.