pub struct MaxAccumulator { /* private fields */ }
Expand description

An accumulator to compute the maximum value

Implementations

new max accumulator

Trait Implementations

Updates the accumulator’s state from a vector of arrays.
updates the accumulator’s state from a vector of states.
Returns the state of the accumulator at the end of the accumulation. in the case of an average on which we track sum and n, this function should return a vector of two values, sum and n. Read more
returns its value based on its current state.
Retracts an update (caused by the given inputs) to accumulator’s state. Inverse operation of the update_batch operation. This method must be for accumulators that should support bounded OVER aggregates. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.