Expand description
Shared physical-plan layer for NodeDB.
Owns the PhysicalTask IR and the SqlPlan → PhysicalPlan converter.
Origin (server) and Lite (embedded) both consume the same PhysicalTask;
per-deployment executors implement PhysicalTaskVisitor against their own
storage backends. Origin-specific concerns (vShard routing, MessagePack
pre-serialisation, cross-plane envelope fields) live in an Origin-side
wrapper that contains a PhysicalTask, not in this crate.
Re-exports§
pub use error::ConvertError;pub use surrogate::SurrogateAssignError;pub use surrogate::SurrogateAssigner;pub use visitor::PhysicalTaskVisitor;pub use visitor::dispatch;
Modules§
- convert_
context - Deployment-neutral context threaded through the shared
SqlPlan → PhysicalPlanconverter helpers incrate::convert. - error
- Error type for the shared SqlPlan → PhysicalPlan converter helpers.
- physical_
plan - Physical plan types dispatched from Control Plane to Data Plane.
- physical_
task - surrogate
- Surrogate-allocation contract used by the shared SqlPlan → PhysicalPlan converter. Origin’s WAL-durable, Raft-replicated allocator implements this trait; Lite supplies its own local-monotonic implementation.
- visitor
- Executor parity contract for
PhysicalPlan.