pub struct QueryPlanner { /* private fields */ }Expand description
Query planner
Implementations§
Source§impl QueryPlanner
impl QueryPlanner
pub fn new(config: GraphRAGConfig) -> Self
Sourcepub fn plan(&self, parsed: &ParsedQuery) -> GraphRAGResult<QueryPlan>
pub fn plan(&self, parsed: &ParsedQuery) -> GraphRAGResult<QueryPlan>
Create execution plan for a parsed query
Auto Trait Implementations§
impl Freeze for QueryPlanner
impl RefUnwindSafe for QueryPlanner
impl Send for QueryPlanner
impl Sync for QueryPlanner
impl Unpin for QueryPlanner
impl UnwindSafe 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