pub struct CountOperation;Trait Implementations§
Source§impl Clone for CountOperation
impl Clone for CountOperation
Source§fn clone(&self) -> CountOperation
fn clone(&self) -> CountOperation
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 CountOperation
impl Explain for CountOperation
fn describe<'__explain>( &'__explain self, formatter: &mut ExplainFormatter<'__explain, '_>, ) -> Result
Source§impl<V: BareValueDomain> LaneKernel<Bare<V>, Definite> for CountOperation
impl<V: BareValueDomain> LaneKernel<Bare<V>, Definite> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Definite>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain, O: OrderState> LaneKernel<Bare<V>, Multiple<O>> for CountOperation
impl<V: BareValueDomain, O: OrderState> LaneKernel<Bare<V>, Multiple<O>> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
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<V: BareValueDomain> LaneKernel<Bare<V>, Single> for CountOperation
impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Definite> for CountOperation
impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Definite> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Definite>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain, O: OrderState> LaneKernel<Indexed<I, V>, Multiple<O>> for CountOperation
impl<I: IndexDomain, V: ValueDomain, O: OrderState> LaneKernel<Indexed<I, V>, Multiple<O>> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
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<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for CountOperation
impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl Operation for CountOperation
impl Operation for CountOperation
Source§impl OperationInputs for CountOperation
impl OperationInputs for CountOperation
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 CountOperation
impl OptimizerHints for CountOperation
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 CountOperation
impl PlanIdentity for CountOperation
fn identity_eq(&self, other: &Self) -> bool
fn identity_hash<__Hasher: Hasher>(&self, state: &mut __Hasher)
Source§impl PlanInputs for CountOperation
impl PlanInputs for CountOperation
Source§impl Prepare for CountOperation
impl Prepare for CountOperation
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 CountOperation
impl RefUnwindSafe for CountOperation
impl Send for CountOperation
impl Sync for CountOperation
impl Unpin for CountOperation
impl UnsafeUnpin for CountOperation
impl UnwindSafe for CountOperation
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