Skip to main content

Module reduce

Module reduce 

Source
Expand description

Reduction dataflow construction.

Consult ReducePlan documentation for details.

Modulesยง

monoids ๐Ÿ”’
Monoids for in-place compaction of monotonic streams.
window_agg_helpers ๐Ÿ”’

Structsยง

AccumContainer ๐Ÿ”’
Derived columnar container for an enum.

Enumsยง

Accum ๐Ÿ”’
Accumulates values for the various types of accumulable aggregations.
AccumReference ๐Ÿ”’
Reference for an enum.

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 DatumVecBorrow containing key and aggregate values, then returns a result Row or None if the MFP filters the result out.
finalize_accum ๐Ÿ”’
float_to_fixed_point ๐Ÿ”’
Maps a finite f64 onto the fixed-point i128 domain used to accumulate float sums, i.e. computes trunc(n * FLOAT_SCALE) reduced modulo 2^128.

Type Aliasesยง

AccumCount ๐Ÿ”’
The type for accumulator counting. Set to Overflowing<u128>.
BatchKeyContainer ๐Ÿ”’
Key container of trace Trโ€™s batch cursor.