pub struct Count {}Trait Implementations§
Source§impl AggregatingFunction for Count
impl AggregatingFunction for Count
fn initialize_accumulator( &self, _context: &ExpressionEvaluationContext<'_>, _expression: &FunctionExpression, _grouping_keys: &Vec<VariableValue>, _index: Arc<dyn ResultIndex>, ) -> Accumulator
fn accumulator_is_lazy(&self) -> bool
fn apply<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ExpressionEvaluationContext<'_>,
args: Vec<VariableValue>,
accumulator: &'life2 mut Accumulator,
) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn revert<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ExpressionEvaluationContext<'_>,
args: Vec<VariableValue>,
accumulator: &'life2 mut Accumulator,
) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn snapshot<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ExpressionEvaluationContext<'_>,
_args: Vec<VariableValue>,
accumulator: &'life2 Accumulator,
) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for Count
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnsafeUnpin for Count
impl UnwindSafe for Count
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