pub struct Aggregate { /* private fields */ }Expand description
Reduces the rows of a relationship per parent, or of a whole query, to
an aggregate: one row per group key, {...groupKey, _0_value}, so a
Join routes it as it would the child rows.
count, sum and avg are kept in O(1) per change. min and max are too,
unless the extreme leaves; then the group is read again in reconcile.
Implementations§
Trait Implementations§
Source§impl Input for Aggregate
impl Input for Aggregate
fn set_output(&self, output: Weak<dyn Output>)
fn fetch(&self, req: &FetchRequest) -> NodeStream
Auto Trait Implementations§
impl !Freeze for Aggregate
impl !RefUnwindSafe for Aggregate
impl !Send for Aggregate
impl !Sync for Aggregate
impl !UnwindSafe for Aggregate
impl Forget for Aggregate
impl Move for Aggregate
impl Unpin for Aggregate
impl UnsafeUnpin for Aggregate
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