pub struct PhysicalAggregateExecutor<'a> { /* private fields */ }Implementations§
Source§impl<'a> PhysicalAggregateExecutor<'a>
impl<'a> PhysicalAggregateExecutor<'a>
Trait Implementations§
Source§impl AggregateExecutor for PhysicalAggregateExecutor<'_>
impl AggregateExecutor for PhysicalAggregateExecutor<'_>
Source§fn consume(&mut self, batch: Batch) -> ExecResult<()>
fn consume(&mut self, batch: Batch) -> ExecResult<()>
Consume one child batch. Implementations that need a blocking input must
enforce their own byte budget here; the physical operator never creates
an unbounded intermediate row vector.
Source§fn supports_projected_rows(&self) -> bool
fn supports_projected_rows(&self) -> bool
Whether this executor can fold a borrowed, positional row without a
materialized
ResultRow. A source checks this before advancing.Source§fn supports_storage_borrowed_rows(&self) -> bool
fn supports_storage_borrowed_rows(&self) -> bool
Whether projected-row consumption is guaranteed not to call back into the engine while a storage backend lends its row values. Sources use this stricter capability before invoking an executor under a backend read borrow.
Source§fn consume_projected_row(
&mut self,
row: &ProjectedRow<'_, '_>,
) -> ExecResult<()>
fn consume_projected_row( &mut self, row: &ProjectedRow<'_, '_>, ) -> ExecResult<()>
Fold one projected row. Implementations advertising support must
preserve the same expression and aggregate semantics as
Self::consume.Source§fn finish(&mut self) -> ExecResult<SpillBuffer>
fn finish(&mut self) -> ExecResult<SpillBuffer>
Finalize all groups into a byte-bounded, disk-backed output stream.
The row-oriented SQL API may materialize that stream at its public API
boundary, but physical operators must not create an unbounded result
vector first.
Source§fn close(&mut self) -> ExecResult<()>
fn close(&mut self) -> ExecResult<()>
Release retained state after completion or early termination. Cleanup
errors must reach the statement before it can report success or commit.
Repeated calls must not release the same resources again.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PhysicalAggregateExecutor<'a>
impl<'a> !Sync for PhysicalAggregateExecutor<'a>
impl<'a> !UnwindSafe for PhysicalAggregateExecutor<'a>
impl<'a> Freeze for PhysicalAggregateExecutor<'a>
impl<'a> Send for PhysicalAggregateExecutor<'a>
impl<'a> Unpin for PhysicalAggregateExecutor<'a>
impl<'a> UnsafeUnpin for PhysicalAggregateExecutor<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more