Expand description
Reduction dataflow construction.
Consult ReducePlan documentation for details.
Modulesยง
- monoids ๐
- Monoids for in-place compaction of monotonic streams.
- window_
agg_ ๐helpers
Enumsยง
- Accum ๐
- Accumulates values for the various types of accumulable aggregations.
Constantsยง
- FLOAT_
SCALE ๐ - The fixed-point scale applied to float sums, i.e.
2^FLOAT_SCALE_EXP. - FLOAT_
SCALE_ ๐EXP - The number of fractional bits of binary precision retained by the
fixed-point representation used to accumulate float sums. The fixed-point
scale is
FLOAT_SCALE == 2^FLOAT_SCALE_EXP.
Functionsยง
- accumulable_
zero ๐ - datum_
to_ ๐accumulator - evaluate_
mfp_ ๐after - Evaluates the fused MFP, if one exists, on a reconstructed
DatumVecBorrowcontaining key and aggregate values, then returns a resultRoworNoneif the MFP filters the result out. - finalize_
accum ๐ - float_
to_ ๐fixed_ point - Maps a finite
f64onto the fixed-pointi128domain used to accumulate float sums, i.e. computestrunc(n * FLOAT_SCALE)reduced modulo2^128.
Type Aliasesยง
- Accum
Count ๐ - The type for accumulator counting. Set to
Overflowing<u128>.