pub struct MssqlWriteReport { /* private fields */ }Expand description
Redacted per-output SQL Server write report.
Implementations§
Source§impl MssqlWriteReport
impl MssqlWriteReport
Sourcepub fn to_json_value(&self) -> Value
pub fn to_json_value(&self) -> Value
Returns the execute output report as a JSON-compatible Python shape.
Source§impl MssqlWriteReport
impl MssqlWriteReport
Sourcepub fn from_output_plan(
output_plan: &MssqlTargetOutputPlan,
rows_written: u64,
batches_written: u64,
elapsed_ms: u64,
partial_write_possible: bool,
cleanup: MssqlTargetCleanupStatus,
) -> Self
pub fn from_output_plan( output_plan: &MssqlTargetOutputPlan, rows_written: u64, batches_written: u64, elapsed_ms: u64, partial_write_possible: bool, cleanup: MssqlTargetCleanupStatus, ) -> Self
Builds a write report from the already planned SQL Server output target.
Sourcepub fn output_name(&self) -> &str
pub fn output_name(&self) -> &str
Returns the selected output name.
Sourcepub fn target_table(&self) -> &MssqlTargetTable
pub fn target_table(&self) -> &MssqlTargetTable
Returns the effective target table.
Sourcepub const fn connection_source(&self) -> MssqlConnectionSource
pub const fn connection_source(&self) -> MssqlConnectionSource
Returns where the effective connection came from.
Sourcepub const fn connection(&self) -> &MssqlConnectionSummary
pub const fn connection(&self) -> &MssqlConnectionSummary
Returns the redacted effective connection summary.
Sourcepub const fn stats(&self) -> &MssqlWriteStats
pub const fn stats(&self) -> &MssqlWriteStats
Returns per-output write statistics.
Sourcepub fn output_schema(&self) -> &[MssqlOutputFieldReport]
pub fn output_schema(&self) -> &[MssqlOutputFieldReport]
Returns the selected output schema fields.
Sourcepub const fn output_row_count(&self) -> RowCount
pub const fn output_row_count(&self) -> RowCount
Returns query output row evidence for the selected output stream.
Sourcepub const fn target_row_count(&self) -> RowCount
pub const fn target_row_count(&self) -> RowCount
Returns target-side row count evidence after the SQL Server write.
Sourcepub const fn target_row_count_before_write(&self) -> RowCount
pub const fn target_row_count_before_write(&self) -> RowCount
Returns target-side row count evidence before the SQL Server write. For append-existing validation, concurrent target writes can affect the row-count delta.
Sourcepub const fn target_row_count_after_write(&self) -> RowCount
pub const fn target_row_count_after_write(&self) -> RowCount
Returns target-side row count evidence after the SQL Server write. For append-existing validation, concurrent target writes can affect the row-count delta.
Sourcepub const fn validation_status(&self) -> ValidationStatus
pub const fn validation_status(&self) -> ValidationStatus
Returns target-side validation status for this output.
Sourcepub const fn batch_shaping(&self) -> MssqlBatchShapingReport
pub const fn batch_shaping(&self) -> MssqlBatchShapingReport
Returns identity batch-shaping counters for the selected output stream.
Sourcepub fn phase_timings(&self) -> &[PhaseTimingReport]
pub fn phase_timings(&self) -> &[PhaseTimingReport]
Returns workflow phase timing reports for this output when available.
Sourcepub const fn partial_write_possible(&self) -> bool
pub const fn partial_write_possible(&self) -> bool
Returns whether the target may contain a partial write after failure.
Sourcepub const fn cleanup(&self) -> MssqlTargetCleanupStatus
pub const fn cleanup(&self) -> MssqlTargetCleanupStatus
Returns cleanup reporting state for DeltaFunnel-owned target cleanup.
Trait Implementations§
Source§impl Clone for MssqlWriteReport
impl Clone for MssqlWriteReport
Source§fn clone(&self) -> MssqlWriteReport
fn clone(&self) -> MssqlWriteReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MssqlWriteReport
impl Debug for MssqlWriteReport
impl Eq for MssqlWriteReport
Source§impl PartialEq for MssqlWriteReport
impl PartialEq for MssqlWriteReport
Source§fn eq(&self, other: &MssqlWriteReport) -> bool
fn eq(&self, other: &MssqlWriteReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MssqlWriteReport
Auto Trait Implementations§
impl Freeze for MssqlWriteReport
impl RefUnwindSafe for MssqlWriteReport
impl Send for MssqlWriteReport
impl Sync for MssqlWriteReport
impl Unpin for MssqlWriteReport
impl UnsafeUnpin for MssqlWriteReport
impl UnwindSafe for MssqlWriteReport
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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