pub struct AnalyzePlan {
pub planning: bool,
pub joins: Vec<AnalyzeJoin>,
pub ast: Value,
}Expand description
The chosen plan — both layers (ANALYZE-QUERY-DESIGN.md §3.1).
Fields§
§planning: boolWhether the daemon’s planner gate fired (plan_queries && has_flippable_exists).
false ⇒ the query lowered unplanned (no flippable EXISTS, or planning disabled),
and joins is empty.
joins: Vec<AnalyzeJoin>One entry per flippable EXISTS join, carrying the planner’s flip decision. This is the current-stats plan (re-planned now), which may differ from a long-lived materialization’s frozen plan — see the doc’s frozen-plan caveat (§3.1).
ast: ValueThe planned AST itself (carries the flip annotations), for a --json consumer
that wants the exact lowered shape.
Trait Implementations§
Source§impl Clone for AnalyzePlan
impl Clone for AnalyzePlan
Source§fn clone(&self) -> AnalyzePlan
fn clone(&self) -> AnalyzePlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalyzePlan
impl Debug for AnalyzePlan
Auto Trait Implementations§
impl Freeze for AnalyzePlan
impl RefUnwindSafe for AnalyzePlan
impl Send for AnalyzePlan
impl Sync for AnalyzePlan
impl Unpin for AnalyzePlan
impl UnsafeUnpin for AnalyzePlan
impl UnwindSafe for AnalyzePlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more