pub struct Replace<A> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<V, R> ElementKernel<Bare<V>> for Replace<R>
impl<V, R> ElementKernel<Bare<V>> for Replace<R>
type Emission = <R as ArgumentSource<Unaligned, V>>::Retention
type OutShape = Bare<V>
fn pipeline<'a>( _graphrecord: &'a GraphRecord, prepared: Self::Prepared<'a>, ) -> QueryResult<ElementPipeline<'a, Bare<V>, Self>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<I, V, R> ElementKernel<Indexed<I, V>> for Replace<R>
impl<I, V, R> ElementKernel<Indexed<I, V>> for Replace<R>
type Emission = <R as ArgumentSource<Keyed<I>, V>>::Retention
type OutShape = Indexed<I, V>
fn pipeline<'a>( _graphrecord: &'a GraphRecord, prepared: Self::Prepared<'a>, ) -> QueryResult<ElementPipeline<'a, Indexed<I, V>, Self>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<I, A> ErrorPolicy<I> for Replace<A>
impl<I, A> ErrorPolicy<I> for Replace<A>
Source§impl<I, G, A> ErrorPolicyIn<I, G> for Replace<A>where
G: ErrorGroup,
A: Clone + 'static,
ReplaceErrorsIn<G, A>: Operation,
I: Apply<ReplaceErrorsIn<G, A>>,
impl<I, G, A> ErrorPolicyIn<I, G> for Replace<A>where
G: ErrorGroup,
A: Clone + 'static,
ReplaceErrorsIn<G, A>: Operation,
I: Apply<ReplaceErrorsIn<G, A>>,
Source§impl<I, D, A> ErrorPolicyOf<I, D> for Replace<A>where
D: Diagnostic,
A: Clone + 'static,
ReplaceErrorsOf<D, A>: Operation,
I: Apply<ReplaceErrorsOf<D, A>>,
impl<I, D, A> ErrorPolicyOf<I, D> for Replace<A>where
D: Diagnostic,
A: Clone + 'static,
ReplaceErrorsOf<D, A>: Operation,
I: Apply<ReplaceErrorsOf<D, A>>,
Source§impl<I, C, A> ErrorPolicyWithCause<I, C> for Replace<A>where
C: Error + 'static,
A: Clone + 'static,
ReplaceErrorsWithCause<C, A>: Operation,
I: Apply<ReplaceErrorsWithCause<C, A>>,
impl<I, C, A> ErrorPolicyWithCause<I, C> for Replace<A>where
C: Error + 'static,
A: Clone + 'static,
ReplaceErrorsWithCause<C, A>: Operation,
I: Apply<ReplaceErrorsWithCause<C, A>>,
Source§impl<A: Explain> Explain for Replace<A>
impl<A: Explain> Explain for Replace<A>
fn describe<'a>(&'a self, formatter: &mut ExplainFormatter<'a, '_>) -> Result
Source§impl<A, S, R> MissingPolicy<A, S> for Replace<R>
impl<A, S, R> MissingPolicy<A, S> for Replace<R>
type Prepared<'a> = <R as Prepare>::Prepared<'a>
type Retention = <R as ArgumentSource<A, <S as SourceDomain>::ValueDomain>>::Retention
fn prepare<'a>( &'a self, graphrecord: &'a GraphRecord, cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>
fn resolve_absent<'a>(
prepared: &Self::Prepared<'a>,
address: &A::Address<'a>,
label: &'static str,
) -> <Self::Retention as ElementEmission>::Step<QueryResult<<S::ValueDomain as ValueDomain>::Value<'a>>>where
S: 'a,
Source§impl<A> OperationInputs for Replace<A>where
A: PlanIdentity + PlanInputs + 'static,
impl<A> OperationInputs for Replace<A>where
A: PlanIdentity + PlanInputs + 'static,
type Inputs<'__inputs, __Primary: '__inputs> = (&'__inputs __Primary, &'__inputs A)
fn inputs<'__inputs, __Primary: '__inputs>( &'__inputs self, primary: &'__inputs __Primary, ) -> Self::Inputs<'__inputs, __Primary>
Source§impl<A> OptimizerHints for Replace<A>
impl<A> OptimizerHints for Replace<A>
fn commutes_with_filter(&self) -> bool
fn allows_limit_pushdown(&self) -> bool
fn is_volatile(&self) -> bool
fn empty_rule(&self) -> EmptyRule
Source§impl<A> PlanIdentity for Replace<A>where
A: PlanIdentity,
impl<A> PlanIdentity for Replace<A>where
A: PlanIdentity,
fn identity_eq(&self, other: &Self) -> bool
fn identity_hash<__Hasher: Hasher>(&self, state: &mut __Hasher)
Source§impl<A> PlanInputs for Replace<A>where
A: PlanInputs,
impl<A> PlanInputs for Replace<A>where
A: PlanInputs,
Auto Trait Implementations§
impl<A> Freeze for Replace<A>where
A: Freeze,
impl<A> RefUnwindSafe for Replace<A>where
A: RefUnwindSafe,
impl<A> Send for Replace<A>where
A: Send,
impl<A> Sync for Replace<A>where
A: Sync,
impl<A> Unpin for Replace<A>where
A: Unpin,
impl<A> UnsafeUnpin for Replace<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for Replace<A>where
A: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> ExpandTo<T> for S
impl<S, T> ExpandTo<T> for S
type ReturnOperand = <T as Apply<ExpandToOperation<S>>>::Output
fn expand_to(&self, template: &T) -> <S as ExpandTo<T>>::ReturnOperand
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