pub struct DefaultQueryPlanner { /* private fields */ }Expand description
Default implementation of QueryPlanner
Implementations§
Trait Implementations§
Source§impl Default for DefaultQueryPlanner
impl Default for DefaultQueryPlanner
Source§impl QueryPlanner for DefaultQueryPlanner
impl QueryPlanner for DefaultQueryPlanner
Source§fn create_execution_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 InternalQuery,
) -> Pin<Box<dyn Future<Output = NirvResult<ExecutionPlan>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_execution_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 InternalQuery,
) -> Pin<Box<dyn Future<Output = NirvResult<ExecutionPlan>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Create an execution plan for the given query
Source§fn estimate_cost<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 InternalQuery,
) -> Pin<Box<dyn Future<Output = NirvResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn estimate_cost<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 InternalQuery,
) -> Pin<Box<dyn Future<Output = NirvResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Estimate the cost of executing a query
Source§fn optimize_plan<'life0, 'async_trait>(
&'life0 self,
plan: ExecutionPlan,
) -> Pin<Box<dyn Future<Output = NirvResult<ExecutionPlan>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn optimize_plan<'life0, 'async_trait>(
&'life0 self,
plan: ExecutionPlan,
) -> Pin<Box<dyn Future<Output = NirvResult<ExecutionPlan>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Optimize an execution plan
Auto Trait Implementations§
impl Freeze for DefaultQueryPlanner
impl RefUnwindSafe for DefaultQueryPlanner
impl Send for DefaultQueryPlanner
impl Sync for DefaultQueryPlanner
impl Unpin for DefaultQueryPlanner
impl UnwindSafe for DefaultQueryPlanner
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