pub enum AdaptiveEvent {
CheckpointReached {
id: String,
actual_rows: u64,
estimated: f64,
},
ReoptimizationTriggered {
checkpoint_id: String,
deviation_ratio: f64,
},
PlanSwitched {
old_operator_count: usize,
new_operator_count: usize,
},
ExecutionCompleted {
total_rows: u64,
},
}Expand description
Event emitted during adaptive execution.
Variants§
CheckpointReached
A checkpoint was reached.
ReoptimizationTriggered
Re-optimization was triggered.
PlanSwitched
Plan was switched.
ExecutionCompleted
Execution completed.
Trait Implementations§
Source§impl Clone for AdaptiveEvent
impl Clone for AdaptiveEvent
Source§fn clone(&self) -> AdaptiveEvent
fn clone(&self) -> AdaptiveEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AdaptiveEvent
impl RefUnwindSafe for AdaptiveEvent
impl Send for AdaptiveEvent
impl Sync for AdaptiveEvent
impl Unpin for AdaptiveEvent
impl UnwindSafe for AdaptiveEvent
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