Skip to main content

get_monoid

Function get_monoid 

Source
pub fn get_monoid(row: Row, func: &AggregateFunc) -> Option<ReductionMonoid>
Expand description

Get the correct monoid implementation for a given aggregation function. Note that all hierarchical aggregation functions need to supply a monoid implementation.