Expand description
Converts logical plans into physical execution trees.
The optimizer produces a logical plan (what data you want), but the planner converts it to a physical plan (how to actually get it). This means choosing hash joins vs nested loops, picking index scans vs full scans, etc.
This module contains shared infrastructure used by both the LPG and RDF planners:
PhysicalPlan- the output of planning- Expression and operator conversion functions
- Reusable operator builders (in the common submodule)
Model-specific planning lives in lpg and [rdf].
Re-exports§
pub use lpg::Planner;
Modules§
- lpg
- LPG (Labeled Property Graph) planner.
Structs§
- Physical
Plan - A physical plan ready for execution.
Functions§
- convert_
aggregate_ function - Converts a logical aggregate function to a physical aggregate function.
- convert_
binary_ op - Converts a logical binary operator to a filter binary operator.
- convert_
filter_ expression - Converts a logical expression to a filter expression.
- convert_
unary_ op - Converts a logical unary operator to a filter unary operator.