nodedb-query 0.1.0

Shared query evaluation engine for NodeDB — expressions, filters, functions, aggregations, window functions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0

//! Window function specification and evaluation.
//!
//! Evaluated after sort, before projection. Each spec produces a new column
//! appended to every row (e.g., ROW_NUMBER, RANK, SUM OVER).

pub mod aggregate;
pub mod eval;
pub mod frame;
pub mod helpers;
pub mod offset;
pub mod ranking;
pub mod running;
pub mod spec;

pub use eval::evaluate_window_functions;
pub use spec::{FrameBound, WindowFrame, WindowFuncSpec};