Class PercentileContAccumulator

java.lang.Object
dev.frostlake.functions.aggregate.PercentileContAccumulator
All Implemented Interfaces:
ApproximateAwareAccumulator, CoercedNumericArgumentAccumulator, AggregateFunction.Accumulator

Accumulator for PercentileCont, delegating to AggregateNumerics.percentileCont(Iterable, double) — the same rule MEDIAN uses, MEDIAN being this function at one half. The values are kept AS THEY ARRIVE, since the result's scale is derived from theirs. A VARCHAR or VARIANT key is told apart by DECLARATION (CoercedNumericArgumentAccumulator) and takes live's whole-number rule instead.