Re-exports§
pub use context::ExplainMode;pub use context::OptimizerContext;pub use context::QueryFamily;pub use context::ResourceHints;pub use context::StatementClass;pub use context::TraceSink;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 predicate::normalize_search_enum_value;pub use predicate::push_search_predicates;pub use predicate::search_field_is_enum_like;pub use predicate::SearchFieldRef;pub use predicate::SearchPredicate;pub use predicate::SearchPredicateOp;pub use predicate::SearchPredicateParseError;pub use predicate::SearchPredicatePushdown;pub use predicate::SearchPredicateSet;pub use predicate::SearchScalarValue;pub use predicate::SearchScanPredicateSupport;pub use relational::estimate_relational_nested_loop_join_cost;pub use relational::select_relational_access_path;pub use relational::skyline_prune_relational_access_paths;pub use relational::RelationalAccessPathDescriptor;pub use relational::RelationalAccessPathKind;pub use relational::RelationalNestedLoopJoinCost;pub use relational_join::enumerate_relational_inner_joins;pub use relational_join::RelationalInnerJoinEnumeration;pub use relational_join::RelationalJoinAccessApplicability;pub use relational_join::RelationalJoinAccessPath;pub use relational_join::RelationalJoinEnumerationConfig;pub use relational_join::RelationalJoinEnumerationError;pub use relational_join::RelationalJoinGraph;pub use relational_join::RelationalJoinPlan;pub use relational_join::RelationalJoinPredicate;pub use relational_join::RelationalJoinPredicateId;pub use relational_join::RelationalJoinRelation;pub use relational_join::RelationalJoinStep;pub use relational_join_hypergraph::enumerate_relational_csg_cmp_joins;pub use relational_join_hypergraph::enumerate_relational_csg_cmp_joins_with_implementations;pub use relational_join_hypergraph::enumerate_relational_csg_cmp_joins_with_right_input_policy;pub use relational_join_hypergraph::RelationalCsgCmpAlternative;pub use relational_join_hypergraph::RelationalCsgCmpEnumeration;pub use relational_join_hypergraph::RelationalCsgCmpJoinImplementation;pub use relational_join_hypergraph::RelationalCsgCmpPlan;pub use relational_join_hypergraph::RelationalCsgCmpPlanNode;pub use relational_join_hypergraph::RelationalCsgCmpRightInputPolicy;pub use relational_join_hypergraph::RelationalEquiJoinAlgorithm;pub use relational_join_rewrite::analyze_relational_join_conflicts;pub use relational_join_rewrite::enumerate_relational_join_rewrites;pub use relational_join_rewrite::RelationalJoinConflictAnalysis;pub use relational_join_rewrite::RelationalJoinConflictDescriptor;pub use relational_join_rewrite::RelationalJoinConflictRule;pub use relational_join_rewrite::RelationalJoinOperator;pub use relational_join_rewrite::RelationalJoinOperatorId;pub use relational_join_rewrite::RelationalJoinOperatorKind;pub use relational_join_rewrite::RelationalJoinRewriteEnumeration;pub use relational_join_rewrite::RelationalJoinRewriteError;pub use relational_join_rewrite::RelationalJoinRewritePlan;pub use relational_join_rewrite::RelationalJoinRewriteProblem;pub use relational_join_rewrite::RelationalJoinRewriteStep;pub use relational_join_rewrite::RelationalJoinTree;pub use relational_planning::RelationalJoinPlanningAttempt;pub use relational_planning::RelationalJoinPlanningBudget;pub use relational_planning::RelationalJoinPlanningCost;pub use relational_planning::RelationalJoinPlanningDirective;pub use relational_planning::RelationalJoinPlanningFallbackClass;pub use relational_planning::RelationalJoinPlanningOutcome;pub use relational_planning::RelationalJoinPlanningReason;pub use relational_planning::RelationalJoinPlanningStatus;pub use relational_planning::RelationalJoinPlanningStrategy;pub use relational_profile::RelationalOperatorCardinalityProfile;pub use relational_profile::RelationalOperatorId;pub use relational_profile::RelationalOperatorKind;pub use search::OptimizationSearchReport;pub use search::SelectedPlanTrace;pub use trace::OperatorCardinalityEstimate;pub use trace::OptimizerConfig;pub use trace::OptimizerTrace;pub use vector::plan_vector_search;pub use vector::select_adaptive_vector_backend;pub use vector::validate_vector_pipeline;pub use vector::AdaptiveVectorBackend;pub use vector::AdaptiveVectorBackendDecision;pub use vector::AdaptiveVectorBackendInput;pub use vector::AdaptiveVectorBackendPolicy;pub use vector::PlannedVectorSearch;pub use vector::VectorCompressionPreference;pub use vector::VectorPlanError;pub use vector::VectorPlanProperties;
Modules§
- context
- cost
- graph
- logical
- Logical optimizer operator metadata.
- memo
- operator
- Compatibility re-exports for optimizer operator metadata.
- predicate
- properties
- relational
- relational_
join - Relational inner-join graph contracts and validation.
- relational_
join_ hypergraph - Hypergraph csg-cmp enumeration for bound relational join operators.
- relational_
join_ rewrite - CD-C legality analysis and memo-backed join rewrite enumeration.
- relational_
planning - relational_
profile - relational_
sargability - Extracts index-compatible constraints without binding values or accessing storage.
- rule
- search
- stage
- trace
- vector
Structs§
- Applied
Rule - Fast
Path Physical Phase - GroupId
- Logical
Phase - Logical
Plan Root - Lowering
Ready Logical Plan Root - Lowering
Ready Phase - Memo
- Memo
Group - Optimization
Pipeline - Optimization
Stage - 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.
- Required
Properties - Rule
Application - Rule
Batch - Rule
Event - RuleId
- Rule
Promise - Rule
Stage - Stage
Rule Batch - Stage
Stats - Stage
Trace
Enums§
- Apply
Order - Distribution
- Memory
Budget Class - Optimizer
Search Directive - Optimizer
Search Directive Error - Physical
Plan Class - Physical
Plan Kind - Plan
Children - Plan
Phase Kind - Relational
Join Cardinality - Relational
Join Right Input - Relational
Join Selectivity - Rule
Kind - Rule
Outcome - Scan
Pruning Support - Search
Mode - Vector
Precision
Traits§
Functions§
- apply_
rule_ batch - estimate_
relational_ access_ cost - estimate_
relational_ access_ path_ cost - Estimates logical work for a validated access descriptor.
- estimate_
relational_ join_ cost - estimate_
relational_ probe_ join_ cost - Extends a left-deep plan with one probe join using the canonical relational cost model.
- plan_
class_ counts - plan_
operator_ counts - visit_
plan - visit_
plan_ with_ ids - Visits a physical plan in pre-order and assigns each operator its plan-local identity.