pub enum WcojVarOrderingKind {
Disabled,
LeaderCardinality,
HeatAware,
}Expand description
Selector for the WCOJ variable-ordering cost model.
Disabled is the load-bearing default: when set, the promoter
never emits RirNode::MultiWayJoin::var_order, preserving existing
triangle, 4-cycle, recursive, and selectivity-aware dispatch row-set
semantics.
Variants§
Disabled
Variable-ordering disabled: promoter never sets var_order.
LeaderCardinality
Use the default LeaderCardinalityModel to pick a
stats-driven leader for triangle / 4-cycle WCOJ inputs.
HeatAware
Use HeatAwareLeaderModel: combines cardinality, access heat, and
observed join selectivity into a composite score. Hot relations and
relations in tight (low selectivity) edges get demoted from the leader slot;
cold extensional rels are preferred as leader. Same
threshold gate as LeaderCardinality via
effective_wcoj_var_ordering_threshold().
Trait Implementations§
Source§impl Clone for WcojVarOrderingKind
impl Clone for WcojVarOrderingKind
Source§fn clone(&self) -> WcojVarOrderingKind
fn clone(&self) -> WcojVarOrderingKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more