pub struct SumOperation;Trait Implementations§
Source§impl Clone for SumOperation
impl Clone for SumOperation
Source§fn clone(&self) -> SumOperation
fn clone(&self) -> SumOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Explain for SumOperation
impl Explain for SumOperation
fn describe<'__explain>( &'__explain self, formatter: &mut ExplainFormatter<'__explain, '_>, ) -> Result
Source§impl<V, O> LaneKernel<Bare<V>, Multiple<O>> for SumOperation
impl<V, O> LaneKernel<Bare<V>, Multiple<O>> for SumOperation
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, values: BareStream<'a, V, Multiple<O>>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I, V, O> LaneKernel<Indexed<I, V>, Multiple<O>> for SumOperation
impl<I, V, O> LaneKernel<Indexed<I, V>, Multiple<O>> for SumOperation
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, values: KeyedStream<'a, I, V, Multiple<O>>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl Operation for SumOperation
impl Operation for SumOperation
Source§impl OperationInputs for SumOperation
impl OperationInputs for SumOperation
type Inputs<'__inputs, __Primary: '__inputs> = (&'__inputs __Primary,)
fn inputs<'__inputs, __Primary: '__inputs>( &'__inputs self, primary: &'__inputs __Primary, ) -> Self::Inputs<'__inputs, __Primary>
Source§impl OptimizerHints for SumOperation
impl OptimizerHints for SumOperation
fn commutes_with_filter(&self) -> bool
fn allows_limit_pushdown(&self) -> bool
fn is_volatile(&self) -> bool
fn empty_rule(&self) -> EmptyRule
Source§impl PlanIdentity for SumOperation
impl PlanIdentity for SumOperation
fn identity_eq(&self, other: &Self) -> bool
fn identity_hash<__Hasher: Hasher>(&self, state: &mut __Hasher)
Source§impl PlanInputs for SumOperation
impl PlanInputs for SumOperation
Source§impl Prepare for SumOperation
impl Prepare for SumOperation
type Prepared<'a> = ()
fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>
Auto Trait Implementations§
impl Freeze for SumOperation
impl RefUnwindSafe for SumOperation
impl Send for SumOperation
impl Sync for SumOperation
impl Unpin for SumOperation
impl UnsafeUnpin for SumOperation
impl UnwindSafe for SumOperation
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