Class ListAggAccumulator

java.lang.Object
dev.frostlake.functions.aggregate.ListAggAccumulator
All Implemented Interfaces:
AggregateFunction.Accumulator

public class ListAggAccumulator extends Object implements AggregateFunction.Accumulator
Accumulator for LISTAGG: concatenates the non-null accumulated values with delimiter. The delimiter defaults to the empty string (Snowflake's default for a single-argument LISTAGG) and is overridden from the optional second LISTAGG argument via setDelimiter(java.lang.String). Extracted to its own file (rather than nested in ListAgg) so the executor can set the delimiter on it.