Module aggregation

Source
Expand description

Core aggregation framework for time-series data.

This module provides the foundational types and functionality for aggregating time-series data. It defines:

  • Generic aggregation functions (Sum, Avg, Min, Max, Count)
  • Time window specifications (None, Fixed, Sliding)
  • Grouping operations
  • SQL query generation

This framework is used by more specific aggregation implementations, such as the metric-specific aggregation in crate::metrics::aggregation.

Structs§

AggregateResult
Result of an aggregation operation
GroupBy
Grouping specification for aggregation

Enums§

AggregateFunction
Generic aggregation functions that can be applied to time-series data
TimeWindow
Time window for aggregation

Functions§

build_aggregate_query
Builds a SQL query for aggregation.