(agg: &AggregateFunc, reverse: bool)
| 2526 | |
| 2527 | impl mz_expr::OneByOneAggr for OneByOneAggrImpls { |
| 2528 | fn new(agg: &AggregateFunc, reverse: bool) -> Self { |
| 2529 | match reduction_type(agg) { |
| 2530 | ReductionType::Basic => { |
| 2531 | OneByOneAggrImpls::Basic(mz_expr::NaiveOneByOneAggr::new(agg, reverse)) |
| 2532 | } |
| 2533 | ReductionType::Accumulable => { |
| 2534 | OneByOneAggrImpls::Accumulable(AccumulableOneByOneAggr::new(agg)) |
| 2535 | } |
| 2536 | ReductionType::Hierarchical => { |
| 2537 | OneByOneAggrImpls::Hierarchical(HierarchicalOneByOneAggr::new(agg)) |
| 2538 | } |
| 2539 | } |
| 2540 | } |
| 2541 | |
| 2542 | fn give(&mut self, d: &Datum) { |
| 2543 | match self { |
nothing calls this directly
no test coverage detected