Module min_max

Source
Expand description

Max and MaxAccumulator accumulator for the max function Min and MinAccumulator accumulator for the min function

Structs§

Max
MaxAccumulator
An accumulator to compute the maximum value
Min
MinAccumulator
An accumulator to compute the minimum value
MovingMax
Keep track of the maximum value in a sliding window.
MovingMin
Keep track of the minimum value in a sliding window.
SlidingMaxAccumulator
SlidingMinAccumulator

Functions§

max
Returns the maximum of a group of values.
max_udaf
AggregateFunction that returns a AggregateUDF for Max
min
Returns the minimum of a group of values.
min_udaf
AggregateFunction that returns a AggregateUDF for Min