pub struct NestedQueryEvaluator;Expand description
Evaluator for nested queries
Implementations§
Source§impl NestedQueryEvaluator
impl NestedQueryEvaluator
Sourcepub fn evaluate(
_nested: &NestedQuery,
_initial_bindings: &Bindings,
) -> NestedQueryResult
pub fn evaluate( _nested: &NestedQuery, _initial_bindings: &Bindings, ) -> NestedQueryResult
Evaluate a nested query
Algorithm:
- Evaluate the subquery to get intermediate results
- For each subquery result, bind variables in outer goal
- Evaluate outer goal with those bindings
- Collect and merge all solutions
Auto Trait Implementations§
impl Freeze for NestedQueryEvaluator
impl RefUnwindSafe for NestedQueryEvaluator
impl Send for NestedQueryEvaluator
impl Sync for NestedQueryEvaluator
impl Unpin for NestedQueryEvaluator
impl UnwindSafe for NestedQueryEvaluator
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