pub struct Collect {}Expand description
Collect aggregation function that collects all values into a list
Trait Implementations§
Source§impl AggregatingFunction for Collect
impl AggregatingFunction for Collect
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 Collect
impl RefUnwindSafe for Collect
impl Send for Collect
impl Sync for Collect
impl Unpin for Collect
impl UnsafeUnpin for Collect
impl UnwindSafe for Collect
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