pub struct CountAccumulator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Accumulator for CountAccumulator
impl Accumulator for CountAccumulator
Source§fn update_value(&mut self, value: &ScalarValue) -> QuillSQLResult<()>
fn update_value(&mut self, value: &ScalarValue) -> QuillSQLResult<()>
Updates the accumulator’s state from its input.
Source§fn evaluate(&self) -> QuillSQLResult<ScalarValue>
fn evaluate(&self) -> QuillSQLResult<ScalarValue>
Returns the final aggregate value, consuming the internal state.
Source§impl Clone for CountAccumulator
impl Clone for CountAccumulator
Source§fn clone(&self) -> CountAccumulator
fn clone(&self) -> CountAccumulator
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 Debug for CountAccumulator
impl Debug for CountAccumulator
Auto Trait Implementations§
impl Freeze for CountAccumulator
impl RefUnwindSafe for CountAccumulator
impl Send for CountAccumulator
impl Sync for CountAccumulator
impl Unpin for CountAccumulator
impl UnsafeUnpin for CountAccumulator
impl UnwindSafe for CountAccumulator
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