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

MIN aggregate expression

Implementations§

Create a new MIN aggregate function

Trait Implementations§

Return a reference to Any that can be used for downcasting

the field of the final result of this aggregation.
the accumulator used to accumulate values from the expressions. the accumulator expects the same number of arguments as expressions and must return states with the same description as state_fields
the fields that encapsulate the Accumulator’s state the number of fields here equals the number of states that the accumulator contains
expressions that are passed to the Accumulator. Single-column aggregations such as sum return a single value, others (e.g. cov) return many.
Human readable name such as "MIN(c2)". The default implementation returns placeholder text.
If the aggregate expression is supported by row format
Specifies whether this aggregate function can run using bounded memory. Any accumulator returning “true” needs to implement retract_batch.
RowAccumulator to access/update row-based aggregation state in-place. Currently, row accumulator only supports states of fixed-sized type. Read more
Construct an expression that calculates the aggregate in reverse. Typically the “reverse” expression is itself (e.g. SUM, COUNT). For aggregates that do not support calculation in reverse, returns None (which is the default value).
Creates accumulator implementation that supports retract
Returns a copy of the value. Read more
Performs copy-assignment from source. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.