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 an Array containing one or more intermediate values. Read more
Returns the partial intermediate state of the accumulator. This partial state is serialied as Arrays and then combined with other partial states from different instances of this accumulator (that ran on different partitions, for example). Read more
Returns the final aggregate value based on its current state.
Allocated size required for this accumulator, in bytes, including Self. Allocated means that for internal containers such as Vec, the capacity should be used not the len
Retracts an update (caused by the given inputs) to accumulator’s state. 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.