pub struct GroupProjection { /* private fields */ }Expand description
Turns the rows of a GroupBy, or of the source a synced client reads
them from, into the rows a view shows: the group columns under the
query’s names and, for a groupBy() with an aggregate, its value under
value_name (count, sum, …). A distinct() shows no value, so an
edit, which only moves its count, doesn’t reach the view.
Implementations§
Trait Implementations§
Source§impl Input for GroupProjection
impl Input for GroupProjection
fn set_output(&self, output: Weak<dyn Output>)
fn fetch(&self, req: &FetchRequest) -> NodeStream
Source§impl InputBase for GroupProjection
impl InputBase for GroupProjection
fn get_schema(&self) -> Rc<SourceSchema>
fn destroy(&self)
Source§impl Output for GroupProjection
impl Output for GroupProjection
fn push(&self, change: Change, _pusher: &dyn InputBase)
Source§fn reconcile(&self, _pusher: &dyn InputBase)
fn reconcile(&self, _pusher: &dyn InputBase)
Phase two. Sinks can ignore it; operators must forward it.
Source§fn has_reconcile(&self) -> bool
fn has_reconcile(&self) -> bool
Whether the output has a phase two: false for a sink whose JS
counterpart has no
reconcile, such as a view, which pushes timed
for the inspector skip (MeasurePushOperator).Auto Trait Implementations§
impl !Freeze for GroupProjection
impl !RefUnwindSafe for GroupProjection
impl !Send for GroupProjection
impl !Sync for GroupProjection
impl !UnwindSafe for GroupProjection
impl Forget for GroupProjection
impl Move for GroupProjection
impl Unpin for GroupProjection
impl UnsafeUnpin for GroupProjection
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