#[non_exhaustive]
pub struct TableStatisticsBuilder { /* private fields */ }
Expand description

A builder for TableStatistics.

Implementations§

source§

impl TableStatisticsBuilder

source

pub fn schema_name(self, input: impl Into<String>) -> Self

The schema name.

source

pub fn set_schema_name(self, input: Option<String>) -> Self

The schema name.

source

pub fn get_schema_name(&self) -> &Option<String>

The schema name.

source

pub fn table_name(self, input: impl Into<String>) -> Self

The name of the table.

source

pub fn set_table_name(self, input: Option<String>) -> Self

The name of the table.

source

pub fn get_table_name(&self) -> &Option<String>

The name of the table.

source

pub fn inserts(self, input: i64) -> Self

The number of insert actions performed on a table.

source

pub fn set_inserts(self, input: Option<i64>) -> Self

The number of insert actions performed on a table.

source

pub fn get_inserts(&self) -> &Option<i64>

The number of insert actions performed on a table.

source

pub fn deletes(self, input: i64) -> Self

The number of delete actions performed on a table.

source

pub fn set_deletes(self, input: Option<i64>) -> Self

The number of delete actions performed on a table.

source

pub fn get_deletes(&self) -> &Option<i64>

The number of delete actions performed on a table.

source

pub fn updates(self, input: i64) -> Self

The number of update actions performed on a table.

source

pub fn set_updates(self, input: Option<i64>) -> Self

The number of update actions performed on a table.

source

pub fn get_updates(&self) -> &Option<i64>

The number of update actions performed on a table.

source

pub fn ddls(self, input: i64) -> Self

The data definition language (DDL) used to build and modify the structure of your tables.

source

pub fn set_ddls(self, input: Option<i64>) -> Self

The data definition language (DDL) used to build and modify the structure of your tables.

source

pub fn get_ddls(&self) -> &Option<i64>

The data definition language (DDL) used to build and modify the structure of your tables.

source

pub fn applied_inserts(self, input: i64) -> Self

The number of insert actions applied on a target table.

source

pub fn set_applied_inserts(self, input: Option<i64>) -> Self

The number of insert actions applied on a target table.

source

pub fn get_applied_inserts(&self) -> &Option<i64>

The number of insert actions applied on a target table.

source

pub fn applied_deletes(self, input: i64) -> Self

The number of delete actions applied on a target table.

source

pub fn set_applied_deletes(self, input: Option<i64>) -> Self

The number of delete actions applied on a target table.

source

pub fn get_applied_deletes(&self) -> &Option<i64>

The number of delete actions applied on a target table.

source

pub fn applied_updates(self, input: i64) -> Self

The number of update actions applied on a target table.

source

pub fn set_applied_updates(self, input: Option<i64>) -> Self

The number of update actions applied on a target table.

source

pub fn get_applied_updates(&self) -> &Option<i64>

The number of update actions applied on a target table.

source

pub fn applied_ddls(self, input: i64) -> Self

The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

source

pub fn set_applied_ddls(self, input: Option<i64>) -> Self

The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

source

pub fn get_applied_ddls(&self) -> &Option<i64>

The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

source

pub fn full_load_rows(self, input: i64) -> Self

The number of rows added during the full load operation.

source

pub fn set_full_load_rows(self, input: Option<i64>) -> Self

The number of rows added during the full load operation.

source

pub fn get_full_load_rows(&self) -> &Option<i64>

The number of rows added during the full load operation.

source

pub fn full_load_condtnl_chk_failed_rows(self, input: i64) -> Self

The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn set_full_load_condtnl_chk_failed_rows(self, input: Option<i64>) -> Self

The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn get_full_load_condtnl_chk_failed_rows(&self) -> &Option<i64>

The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn full_load_error_rows(self, input: i64) -> Self

The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn set_full_load_error_rows(self, input: Option<i64>) -> Self

The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn get_full_load_error_rows(&self) -> &Option<i64>

The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

source

pub fn full_load_start_time(self, input: DateTime) -> Self

The time when the full load operation started.

source

pub fn set_full_load_start_time(self, input: Option<DateTime>) -> Self

The time when the full load operation started.

source

pub fn get_full_load_start_time(&self) -> &Option<DateTime>

The time when the full load operation started.

source

pub fn full_load_end_time(self, input: DateTime) -> Self

The time when the full load operation completed.

source

pub fn set_full_load_end_time(self, input: Option<DateTime>) -> Self

The time when the full load operation completed.

source

pub fn get_full_load_end_time(&self) -> &Option<DateTime>

The time when the full load operation completed.

source

pub fn full_load_reloaded(self, input: bool) -> Self

A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

source

pub fn set_full_load_reloaded(self, input: Option<bool>) -> Self

A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

source

pub fn get_full_load_reloaded(&self) -> &Option<bool>

A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

source

pub fn last_update_time(self, input: DateTime) -> Self

The last time a table was updated.

source

pub fn set_last_update_time(self, input: Option<DateTime>) -> Self

The last time a table was updated.

source

pub fn get_last_update_time(&self) -> &Option<DateTime>

The last time a table was updated.

source

pub fn table_state(self, input: impl Into<String>) -> Self

The state of the tables described.

Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

source

pub fn set_table_state(self, input: Option<String>) -> Self

The state of the tables described.

Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

source

pub fn get_table_state(&self) -> &Option<String>

The state of the tables described.

Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

source

pub fn validation_pending_records(self, input: i64) -> Self

The number of records that have yet to be validated.

source

pub fn set_validation_pending_records(self, input: Option<i64>) -> Self

The number of records that have yet to be validated.

source

pub fn get_validation_pending_records(&self) -> &Option<i64>

The number of records that have yet to be validated.

source

pub fn validation_failed_records(self, input: i64) -> Self

The number of records that failed validation.

source

pub fn set_validation_failed_records(self, input: Option<i64>) -> Self

The number of records that failed validation.

source

pub fn get_validation_failed_records(&self) -> &Option<i64>

The number of records that failed validation.

source

pub fn validation_suspended_records(self, input: i64) -> Self

The number of records that couldn't be validated.

source

pub fn set_validation_suspended_records(self, input: Option<i64>) -> Self

The number of records that couldn't be validated.

source

pub fn get_validation_suspended_records(&self) -> &Option<i64>

The number of records that couldn't be validated.

source

pub fn validation_state(self, input: impl Into<String>) -> Self

The validation state of the table.

This parameter can have the following values:

  • Not enabled – Validation isn't enabled for the table in the migration task.

  • Pending records – Some records in the table are waiting for validation.

  • Mismatched records – Some records in the table don't match between the source and target.

  • Suspended records – Some records in the table couldn't be validated.

  • No primary key –The table couldn't be validated because it has no primary key.

  • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.

  • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.

  • Error – The table couldn't be validated because of an unexpected error.

  • Pending validation – The table is waiting validation.

  • Preparing table – Preparing the table enabled in the migration task for validation.

  • Pending revalidation – All rows in the table are pending validation after the table was updated.

source

pub fn set_validation_state(self, input: Option<String>) -> Self

The validation state of the table.

This parameter can have the following values:

  • Not enabled – Validation isn't enabled for the table in the migration task.

  • Pending records – Some records in the table are waiting for validation.

  • Mismatched records – Some records in the table don't match between the source and target.

  • Suspended records – Some records in the table couldn't be validated.

  • No primary key –The table couldn't be validated because it has no primary key.

  • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.

  • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.

  • Error – The table couldn't be validated because of an unexpected error.

  • Pending validation – The table is waiting validation.

  • Preparing table – Preparing the table enabled in the migration task for validation.

  • Pending revalidation – All rows in the table are pending validation after the table was updated.

source

pub fn get_validation_state(&self) -> &Option<String>

The validation state of the table.

This parameter can have the following values:

  • Not enabled – Validation isn't enabled for the table in the migration task.

  • Pending records – Some records in the table are waiting for validation.

  • Mismatched records – Some records in the table don't match between the source and target.

  • Suspended records – Some records in the table couldn't be validated.

  • No primary key –The table couldn't be validated because it has no primary key.

  • Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.

  • Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.

  • Error – The table couldn't be validated because of an unexpected error.

  • Pending validation – The table is waiting validation.

  • Preparing table – Preparing the table enabled in the migration task for validation.

  • Pending revalidation – All rows in the table are pending validation after the table was updated.

source

pub fn validation_state_details(self, input: impl Into<String>) -> Self

Additional details about the state of validation.

source

pub fn set_validation_state_details(self, input: Option<String>) -> Self

Additional details about the state of validation.

source

pub fn get_validation_state_details(&self) -> &Option<String>

Additional details about the state of validation.

source

pub fn build(self) -> TableStatistics

Consumes the builder and constructs a TableStatistics.

Trait Implementations§

source§

impl Clone for TableStatisticsBuilder

source§

fn clone(&self) -> TableStatisticsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TableStatisticsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TableStatisticsBuilder

source§

fn default() -> TableStatisticsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<TableStatisticsBuilder> for TableStatisticsBuilder

source§

fn eq(&self, other: &TableStatisticsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for TableStatisticsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere 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> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more