pub struct Compiler;Implementations§
Source§impl Compiler
impl Compiler
Sourcepub fn compile(query: &ResolvedQuery, stats: &GraphStats) -> CompiledQuery
pub fn compile(query: &ResolvedQuery, stats: &GraphStats) -> CompiledQuery
Compile a resolved query into an executable plan, using stats
for cost-based rewrite selection. Pass GraphStats::default()
when no cardinality information is available — the optimizer
then falls back to the conservative “commit any matching
rewrite” behaviour that the runtime executor handles safely.
Auto Trait Implementations§
impl Freeze for Compiler
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnsafeUnpin for Compiler
impl UnwindSafe for Compiler
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