Skip to main content

Module planner

Module planner 

Source
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§

PhysicalPlan
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.