Class ObjectAggAccumulator

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

public class ObjectAggAccumulator extends Object implements AggregateFunction.Accumulator
Accumulator for OBJECT_AGG(key, value) — collects key/value pairs into one OBJECT. Pairs with a NULL key or NULL value are omitted (Snowflake). The result is the engine's OBJECT representation: canonical JSON text (keys sorted, numbers normalized).