Uses of Interface
dev.frostlake.functions.aggregate.ApproximateAwareAccumulator
Packages that use ApproximateAwareAccumulator
-
Uses of ApproximateAwareAccumulator in dev.frostlake.functions.aggregate
Classes in dev.frostlake.functions.aggregate that implement ApproximateAwareAccumulatorModifier and TypeClassDescriptionclassAccumulator forAvg, delegating the numeric result toAggregateNumerics.avg(Iterable)so every AVG code path shares the same live-verified Snowflake typing: fixed-point inputs (Long/Integer/ BigDecimal) yield a BigDecimal with scale = (max input scale) + 6 rounded HALF_UP and trailing zeros kept (AVG of 90 and 95 is exactly 92.500000), while any Double/Float/VARIANT input keeps the double average.classAccumulator forMedian, delegating toAggregateNumerics.median(Iterable)so the interpolating percentiles share one typing rule.classAccumulator forPercentileCont, delegating toAggregateNumerics.percentileCont(Iterable, double)— the same rule MEDIAN uses, MEDIAN being this function at one half.classAccumulator forStdDev.classAccumulator forStdDevPop.classAccumulator forSum.classAccumulator forVariance.classAccumulator forVarPop.