pub struct Executor<'a, S: GraphStorage> { /* private fields */ }Implementations§
Source§impl<'a, S: GraphStorage> Executor<'a, S>
impl<'a, S: GraphStorage> Executor<'a, S>
pub fn new(ctx: ExecutionContext<'a, S>) -> Self
pub fn with_deadline( ctx: ExecutionContext<'a, S>, deadline: Option<Instant>, ) -> Self
Source§impl<'a, S: GraphStorage> Executor<'a, S>
impl<'a, S: GraphStorage> Executor<'a, S>
pub fn execute( &self, plan: &PhysicalPlan, options: Option<ExecuteOptions>, ) -> ExecResult<QueryResult>
pub fn execute_compiled( &self, compiled: &CompiledQuery, options: Option<ExecuteOptions>, ) -> ExecResult<QueryResult>
pub fn execute_compiled_rows( &self, compiled: &CompiledQuery, ) -> ExecResult<Vec<Row>>
Sourcepub fn execute_compiled_rows_parallel_safe(
&self,
compiled: &CompiledQuery,
) -> ExecResult<Vec<Row>>where
S: Sync,
pub fn execute_compiled_rows_parallel_safe(
&self,
compiled: &CompiledQuery,
) -> ExecResult<Vec<Row>>where
S: Sync,
Execute a compiled read-only query, using rayon only for the narrow materialized-safe subset (scan/filter/projection) and only above a measured threshold. Smaller plans and unsupported operators fall back to the normal buffered executor.
pub fn execute_rows(&self, plan: &PhysicalPlan) -> ExecResult<Vec<Row>>
Auto Trait Implementations§
impl<'a, S> Freeze for Executor<'a, S>
impl<'a, S> RefUnwindSafe for Executor<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for Executor<'a, S>where
S: Sync,
impl<'a, S> Sync for Executor<'a, S>where
S: Sync,
impl<'a, S> Unpin for Executor<'a, S>
impl<'a, S> UnsafeUnpin for Executor<'a, S>
impl<'a, S> UnwindSafe for Executor<'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