pub struct Sum {}Trait Implementations§
Source§impl AggregatingFunction for Sum
impl AggregatingFunction for Sum
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 Sum
impl RefUnwindSafe for Sum
impl Send for Sum
impl Sync for Sum
impl Unpin for Sum
impl UnsafeUnpin for Sum
impl UnwindSafe for Sum
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