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

APPROX_PERCENTILE_CONT_WITH_WEIGTH aggregate expression

Implementations

Create a new ApproxPercentileContWithWeight aggregate function.

Trait Implementations

See [TDigest::to_scalar_state()] for a description of the serialised state.

Returns the aggregate expression as Any so that it can be downcast to a specific implementation. Read more

the field of the final result of this aggregation.

expressions that are passed to the Accumulator. Single-column aggregations such as sum return a single value, others (e.g. cov) return many. Read more

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 Read more

Human readable name such as "MIN(c2)". The default implementation returns placeholder text. Read more

If the aggregate expression is supported by row format

RowAccumulator to access/update row-based aggregation state in-place. Currently, row accumulator only supports states of fixed-sized type. 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.