pub struct PullExecutor<'a, S: GraphStorage> { /* private fields */ }Expand description
Pull-based read-only executor.
Implementations§
Source§impl<'a, S: GraphStorage> PullExecutor<'a, S>
impl<'a, S: GraphStorage> PullExecutor<'a, S>
pub fn new(storage: &'a S, params: BTreeMap<String, LoraValue>) -> Self
Sourcepub fn open_compiled(
self,
compiled: &'a CompiledQuery,
) -> ExecResult<Box<dyn RowSource + 'a>>where
S: 'a,
pub fn open_compiled(
self,
compiled: &'a CompiledQuery,
) -> ExecResult<Box<dyn RowSource + 'a>>where
S: 'a,
Open a streaming cursor for a compiled query.
Both no-UNION and UNION-bearing plans go through
[compiled_to_streaming]: UNION drains its branches via
[UnionSource] (memory unchanged from the previous buffered
path; UNION is inherently O(N) before dedup), but the
consumer side is now streaming so any downstream pipeline
composes uniformly.
Auto Trait Implementations§
impl<'a, S> Freeze for PullExecutor<'a, S>
impl<'a, S> RefUnwindSafe for PullExecutor<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for PullExecutor<'a, S>where
S: Sync,
impl<'a, S> Sync for PullExecutor<'a, S>where
S: Sync,
impl<'a, S> Unpin for PullExecutor<'a, S>
impl<'a, S> UnsafeUnpin for PullExecutor<'a, S>
impl<'a, S> UnwindSafe for PullExecutor<'a, S>where
S: RefUnwindSafe,
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