nodedb_physical/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! Shared physical-plan layer for NodeDB.
4//!
5//! Owns the `PhysicalTask` IR and the `SqlPlan → PhysicalPlan` converter.
6//! Origin (server) and Lite (embedded) both consume the same `PhysicalTask`;
7//! per-deployment executors implement `PhysicalTaskVisitor` against their own
8//! storage backends. Origin-specific concerns (vShard routing, MessagePack
9//! pre-serialisation, cross-plane envelope fields) live in an Origin-side
10//! wrapper that contains a `PhysicalTask`, not in this crate.
11
12pub mod error;
13pub mod kv_atomic;
14pub mod physical_plan;
15pub mod physical_task;
16pub mod visitor;
17
18pub use error::ConvertError;
19pub use visitor::{PhysicalTaskVisitor, dispatch};