Skip to main content

LogicDeltaReport

Struct LogicDeltaReport 

Source
pub struct LogicDeltaReport {
Show 14 fields pub input_delta_count: usize, pub changed_relations: usize, pub changed_relation_names: Vec<String>, pub insert_rows: u64, pub delete_rows: u64, pub has_deletes: bool, pub affected_sccs: usize, pub recomputed_sccs: usize, pub incremental_sccs: usize, pub coalesced_insert_rows: u64, pub coalesced_delete_rows: u64, pub canceled_rows: u64, pub planner_telemetry: DeltaPlannerTelemetry, pub debug_trace: Vec<String>,
}
Expand description

Summary for a persistent-session relation delta update.

Fields§

§input_delta_count: usize

Number of relation delta entries supplied by the caller before coalescing.

§changed_relations: usize

Number of changed relation names in the delta batch.

§changed_relation_names: Vec<String>

Changed relation names after coalescing.

§insert_rows: u64

Total inserted rows across all changed relations.

§delete_rows: u64

Total deleted rows across all changed relations.

§has_deletes: bool

True when at least one relation supplied delete rows.

§affected_sccs: usize

Number of SCCs whose dependency closure was affected.

§recomputed_sccs: usize

Number of affected SCCs that were cleared and fully recomputed.

§incremental_sccs: usize

Number of affected SCCs updated without clearing prior output.

§coalesced_insert_rows: u64

Net insert rows after batch coalescing and insert/delete cancellation.

§coalesced_delete_rows: u64

Net delete rows after batch coalescing and insert/delete cancellation.

§canceled_rows: u64

Rows canceled because an insert and delete for the same relation matched in the batch.

§planner_telemetry: DeltaPlannerTelemetry

Planner-grade cache, fallback, and speedup telemetry.

§debug_trace: Vec<String>

Metadata-only debug trace for the delta recompute.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,