pub struct MssqlDryRunOutputReport { /* private fields */ }Expand description
Dry-run planning report for one selected MSSQL output.
This report is produced after the session has resolved the output schema and planned the SQL Server target, but before any row production, SQL Server lifecycle action, bulk writer construction, or validation I/O.
Implementations§
Source§impl MssqlDryRunOutputReport
impl MssqlDryRunOutputReport
Sourcepub fn to_json_value(&self) -> Value
pub fn to_json_value(&self) -> Value
Returns the dry-run output report as a JSON-compatible Python shape.
Source§impl MssqlDryRunOutputReport
impl MssqlDryRunOutputReport
Sourcepub const fn planned_output(&self) -> &PlannedMssqlOutput
pub const fn planned_output(&self) -> &PlannedMssqlOutput
Returns the planned output request and target plan.
Sourcepub fn output_name(&self) -> &str
pub fn output_name(&self) -> &str
Returns the selected output name.
Sourcepub const fn table_kind(&self) -> LazyTableKind
pub const fn table_kind(&self) -> LazyTableKind
Returns the selected lazy table kind.
Sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &str
Returns the selected lazy table name.
Sourcepub fn output_schema(&self) -> &[MssqlDryRunOutputFieldReport]
pub fn output_schema(&self) -> &[MssqlDryRunOutputFieldReport]
Returns the planned Arrow output schema in output field order.
Sourcepub fn target_table(&self) -> &MssqlTargetTable
pub fn target_table(&self) -> &MssqlTargetTable
Returns the planned SQL Server target table.
Sourcepub fn target_schema_plan(&self) -> &MssqlSchemaPlan
pub fn target_schema_plan(&self) -> &MssqlSchemaPlan
Returns the planned Arrow-to-MSSQL schema mapping artifact.
Sourcepub fn target_ddl_plan(&self) -> &MssqlDdlPlan
pub fn target_ddl_plan(&self) -> &MssqlDdlPlan
Returns the planned SQL Server DDL artifact.
Sourcepub fn target_lifecycle_plan(&self) -> &MssqlLifecyclePlan
pub fn target_lifecycle_plan(&self) -> &MssqlLifecyclePlan
Returns the planned SQL Server table lifecycle artifact.
Sourcepub const fn sql_identity(&self) -> &MssqlDryRunSqlIdentityReport
pub const fn sql_identity(&self) -> &MssqlDryRunSqlIdentityReport
Returns the redacted SQL identity for the selected lazy table.
Sourcepub const fn source_usage_status(&self) -> SourceUsageStatus
pub const fn source_usage_status(&self) -> SourceUsageStatus
Returns known source usage status for this selected output.
Sourcepub fn used_source_names(&self) -> &[String]
pub fn used_source_names(&self) -> &[String]
Returns registered source names known to be used by this selected output.
Sourcepub const fn output_row_count(&self) -> RowCount
pub const fn output_row_count(&self) -> RowCount
Returns output row-count evidence for this dry-run output.
Sourcepub const fn output_row_count_reason(&self) -> Option<ReportReasonCode>
pub const fn output_row_count_reason(&self) -> Option<ReportReasonCode>
Returns the stable reason code when output row count is unavailable.
Sourcepub const fn status(&self) -> OutputStatus
pub const fn status(&self) -> OutputStatus
Returns the dry-run output status.
Sourcepub const fn validation_status(&self) -> ValidationStatus
pub const fn validation_status(&self) -> ValidationStatus
Returns the target validation status for this dry-run output.
Sourcepub fn phase_timings(&self) -> &[PhaseTimingReport]
pub fn phase_timings(&self) -> &[PhaseTimingReport]
Returns per-phase dry-run output timing reports.
Sourcepub const fn sql_server_contacted(&self) -> bool
pub const fn sql_server_contacted(&self) -> bool
Returns whether dry-run planning contacted SQL Server.
Sourcepub const fn row_production_started(&self) -> bool
pub const fn row_production_started(&self) -> bool
Returns whether dry-run planning started DataFusion row production.
Sourcepub const fn table_lifecycle_started(&self) -> bool
pub const fn table_lifecycle_started(&self) -> bool
Returns whether dry-run planning started SQL Server table lifecycle work.
Sourcepub const fn bulk_writer_started(&self) -> bool
pub const fn bulk_writer_started(&self) -> bool
Returns whether dry-run planning opened a SQL Server bulk writer.
Trait Implementations§
Source§impl Clone for MssqlDryRunOutputReport
impl Clone for MssqlDryRunOutputReport
Source§fn clone(&self) -> MssqlDryRunOutputReport
fn clone(&self) -> MssqlDryRunOutputReport
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 MssqlDryRunOutputReport
impl Debug for MssqlDryRunOutputReport
impl Eq for MssqlDryRunOutputReport
Source§impl PartialEq for MssqlDryRunOutputReport
impl PartialEq for MssqlDryRunOutputReport
Source§fn eq(&self, other: &MssqlDryRunOutputReport) -> bool
fn eq(&self, other: &MssqlDryRunOutputReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MssqlDryRunOutputReport
Auto Trait Implementations§
impl Freeze for MssqlDryRunOutputReport
impl RefUnwindSafe for MssqlDryRunOutputReport
impl Send for MssqlDryRunOutputReport
impl Sync for MssqlDryRunOutputReport
impl Unpin for MssqlDryRunOutputReport
impl UnsafeUnpin for MssqlDryRunOutputReport
impl UnwindSafe for MssqlDryRunOutputReport
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