pub enum DerivedAggregationAttempt {
Applied(Box<dyn QueryResult>),
Rejected(Box<dyn QueryResult>),
}Expand description
Outcome of trying the streaming aggregate path for a derived source.
A rejected optimization returns the original result source. This is essential: the caller must materialize that source once, rather than issue the same subquery a second time after an optimizer probe consumed a row.
Variants§
Applied(Box<dyn QueryResult>)
Rejected(Box<dyn QueryResult>)
Auto Trait Implementations§
impl !RefUnwindSafe for DerivedAggregationAttempt
impl !Sync for DerivedAggregationAttempt
impl !UnwindSafe for DerivedAggregationAttempt
impl Freeze for DerivedAggregationAttempt
impl Send for DerivedAggregationAttempt
impl Unpin for DerivedAggregationAttempt
impl UnsafeUnpin for DerivedAggregationAttempt
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