pub enum MultiwayPlan {
WcojWithPlan(KCliqueVariableOrder),
PlannedHashRoute {
reason: PlannedHashReason,
planner_evidence: CostPredictionRecord,
},
FreeJoin,
}Expand description
Route chosen for a recognized multiway shape.
Variants§
WcojWithPlan(KCliqueVariableOrder)
Execute the WCOJ path with the attached K-clique plan.
PlannedHashRoute
Execute the captured fallback as a planned hash route.
Fields
reason: PlannedHashReasonWhy the recognized shape routes to hash.
planner_evidence: CostPredictionRecordCost evidence that made the route auditable.
FreeJoin
Generic Free Join route emitted ONLY by the general
multiway promoter. Provenance contract: inputs are the
fallback body’s Scan leaves in left-to-right traversal order,
so output_columns (which carries the fallback projection, as
on every MultiWayJoin) coincides positionally with the
concatenated-inputs column space — the property the Free Join
dispatcher’s head projection relies on. Dedicated-shape
promoters reorder inputs canonically and must never use this
variant; the dispatcher declines every other plan value.
Trait Implementations§
Source§impl Clone for MultiwayPlan
impl Clone for MultiwayPlan
Source§fn clone(&self) -> MultiwayPlan
fn clone(&self) -> MultiwayPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more