pub struct QueryPlanner { /* private fields */ }Expand description
Query planner
Implementations§
Source§impl QueryPlanner
impl QueryPlanner
Sourcepub fn new(schema: Arc<SchemaManager>, config: &Config) -> Self
pub fn new(schema: Arc<SchemaManager>, config: &Config) -> Self
Create a new query planner
Sourcepub async fn plan(&self, query: &ParsedQuery) -> Result<QueryPlan>
pub async fn plan(&self, query: &ParsedQuery) -> Result<QueryPlan>
Plan a query
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QueryPlanner
impl !UnwindSafe for QueryPlanner
impl Freeze for QueryPlanner
impl Send for QueryPlanner
impl Sync for QueryPlanner
impl Unpin for QueryPlanner
impl UnsafeUnpin for QueryPlanner
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