1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! # Aggregation Nodes
//!
//! This module provides nodes for aggregating data from streams.
//!
//! ## Standard Port Pattern
//!
//! All aggregation nodes follow the standard port pattern:
//! - **Input Ports:** `configuration` (optional but should exist), plus `in` (data stream)
//! - **Output Ports:** `out` (single aggregated result), plus `error`
//!
//! ## Behavior
//!
//! Aggregation nodes process the entire input stream and emit a single result
//! when the stream ends. They maintain state throughout the stream processing.
//!
//! ## Available Nodes
//!
//! - **SumNode**: Sum numeric values (`configuration`, `in` → `out`, `error`)
//! - **CountNode**: Count items (`configuration`, `in` → `out`, `error`)
//! - **AverageNode**: Calculate average (`configuration`, `in` → `out`, `error`)
//! - **MinAggregateNode**: Find minimum value (`configuration`, `in` → `out`, `error`)
//! - **MaxAggregateNode**: Find maximum value (`configuration`, `in` → `out`, `error`)
pub use AverageNode;
pub use CountNode;
pub use MaxAggregateNode;
pub use MinAggregateNode;
pub use SumNode;