Expand description
Graph catalog, costing, rewrites, lowering, and typed trace ownership.
Re-exports§
pub use graph::CascadesOptimizer;pub use graph::FastPathPhysicalPlanRoot;pub use graph::OptimizerCatalog;pub use graph::OptimizerCatalogIndexes;pub use graph::OptimizerCatalogStatistics;pub use graph::OptimizerIndexStatistics;pub use graph::PhysicalPlanRoot;pub use logical::LogicalPlanClass;pub use logical::LogicalPlanKind;pub use logical::LogicalPlanNode;pub use search::OptimizationSearchReport;pub use search::SelectedPlanTrace;pub use trace::OperatorCardinalityEstimate;pub use trace::OptimizerTrace;
Modules§
- context
- Compatibility path for the framework-owned optimizer context.
- cost
- graph
- logical
- Logical optimizer operator metadata.
- memo
- operator
- Compatibility re-exports for optimizer operator metadata.
- properties
- rule
- search
- stage
- trace
Structs§
- Applied
Rule - Fast
Path Physical Phase - GroupId
- Invalid
Optimizer Cost Perturbation - Logical
Phase - Logical
Plan Root - Lowering
Ready Logical Plan Root - Lowering
Ready Phase - Memo
- Memo
Group - Optimization
Pipeline - Optimization
Stage - Optimizer
Config - Optimizer
Context - Optimizer
Cost Perturbation - Reproducible ranking noise. It never changes a raw reported cost, a search budget, an expression, or whether a candidate is legal.
- Optimizer
Qualification Options - Fixed-size controls; unknown/essential rules cannot enter the disabled mask.
- Physical
Operator Id - A plan-local physical operator identity assigned in pre-order.
- Physical
Phase - Physical
Properties - Pipeline
Execution - Plan
Cost - Plan
Cost Breakdown - Cardinality and unweighted logical work, plus the weighted scalar total.
- Plan
Cost Weights - Relative weights applied once to raw logical work components.
- Required
Properties - Resource
Hints - Rule
Application - Rule
Batch - Rule
Event - RuleId
- Rule
Promise - Rule
Stage - Stage
Rule Batch - Stage
Stats - Stage
Trace
Enums§
- Apply
Order - Distribution
- Explain
Mode - Memory
Budget Class - Optimizer
Bounded Order Alternative - Named legal alternatives for one bounded
ORDER BY ... LIMITdecision. - Optimizer
Rule Assertion - Assertions inspect structured applied outcomes, not mentions in plan text.
- Optimizer
Rule Assertion Error - Optimizer
Search Directive - Optimizer
Search Directive Error - Optional
Optimizer Rule - Optional proof transformations supported by the qualification interface.
- Physical
Plan Class - Physical
Plan Kind - Plan
Children - Plan
Phase Kind - Query
Family - Rule
Kind - Rule
Outcome - Scan
Pruning Support - Search
Mode - Statement
Class - Trace
Sink - Vector
Precision
Constants§
- BOUNDED_
ORDER_ QUALIFICATION_ RULE - Structured trace rule emitted exactly once when an explicit bounded-order alternative is selected successfully.
- DEFAULT_
PLAN_ COST_ POLICY_ ID - Stable identity of the default logical-work policy recorded in qualification evidence. A different default requires a separately reviewed policy change.
- DEFAULT_
PLAN_ COST_ WEIGHTS
Traits§
Functions§
- apply_
rule_ batch - plan_
class_ counts - plan_
operator_ counts - verify_
optimizer_ rule_ assertions - visit_
plan - visit_
plan_ with_ ids - Visits a physical plan in pre-order and assigns each operator its plan-local identity.