Aggregate performs grouping based on the provided ViewType (Sender, Domain, etc.)
(ctx context.Context, groupBy ViewType, opts AggregateOptions)
| 14 | type Engine interface { |
| 15 | // Aggregate performs grouping based on the provided ViewType (Sender, Domain, etc.) |
| 16 | Aggregate(ctx context.Context, groupBy ViewType, opts AggregateOptions) ([]AggregateRow, error) |
| 17 | |
| 18 | // SubAggregate performs aggregation on a filtered subset of messages. |
| 19 | // This is used for sub-grouping after drill-down, e.g., drilling into |
no outgoing calls