icydb-core 0.74.8

IcyDB — A type-safe, embedded ORM and schema system for the Internet Computer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Module: executor::aggregate::contracts
//! Responsibility: aggregate runtime contracts, specs, grouped state, and errors.
//! Does not own: aggregate execution branching/orchestration behavior.
//! Boundary: shared aggregate contract surface consumed by aggregate executors.
#![deny(unreachable_patterns)]

mod error;
mod grouped;
mod spec;
mod state;

pub(in crate::db::executor) use error::GroupError;
pub(in crate::db::executor) use grouped::{
    ExecutionConfig, ExecutionContext, GroupedAggregateEngine, ScalarAggregateEngine,
    execute_scalar_aggregate,
};
pub(in crate::db::executor) use spec::{AggregateKind, ScalarAggregateOutput};
pub(in crate::db::executor) use state::{AggregateFoldMode, FoldControl};