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