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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more