Skip to main content

Crate hawdb_optimizer_graph

Crate hawdb_optimizer_graph 

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

AppliedRule
FastPathPhysicalPhase
GroupId
LogicalPhase
LogicalPlanRoot
LoweringReadyLogicalPlanRoot
LoweringReadyPhase
Memo
MemoGroup
OptimizationPipeline
OptimizationStage
OptimizerConfig
OptimizerContext
PhysicalOperatorId
A plan-local physical operator identity assigned in pre-order.
PhysicalPhase
PhysicalProperties
PipelineExecution
PlanCost
PlanCostBreakdown
Cardinality and unweighted logical work, plus the weighted scalar total.
RequiredProperties
ResourceHints
RuleApplication
RuleBatch
RuleEvent
RuleId
RulePromise
RuleStage
StageRuleBatch
StageStats
StageTrace

Enums§

ApplyOrder
Distribution
ExplainMode
MemoryBudgetClass
OptimizerSearchDirective
OptimizerSearchDirectiveError
PhysicalPlanClass
PhysicalPlanKind
PlanChildren
PlanPhaseKind
QueryFamily
RuleKind
RuleOutcome
ScanPruningSupport
SearchMode
StatementClass
TraceSink
VectorPrecision

Traits§

OptimizerRule
PhysicalPlanNode
PlanNode
PlanPhase

Functions§

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