Struct aws_sdk_databasemigration::model::TableStatistics [−][src]
#[non_exhaustive]pub struct TableStatistics {Show 19 fields
pub schema_name: Option<String>,
pub table_name: Option<String>,
pub inserts: i64,
pub deletes: i64,
pub updates: i64,
pub ddls: i64,
pub full_load_rows: i64,
pub full_load_condtnl_chk_failed_rows: i64,
pub full_load_error_rows: i64,
pub full_load_start_time: Option<DateTime>,
pub full_load_end_time: Option<DateTime>,
pub full_load_reloaded: Option<bool>,
pub last_update_time: Option<DateTime>,
pub table_state: Option<String>,
pub validation_pending_records: i64,
pub validation_failed_records: i64,
pub validation_suspended_records: i64,
pub validation_state: Option<String>,
pub validation_state_details: Option<String>,
}
Expand description
Provides a collection of table statistics in response to a request by the
DescribeTableStatistics
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.schema_name: Option<String>
The schema name.
table_name: Option<String>
The name of the table.
inserts: i64
The number of insert actions performed on a table.
deletes: i64
The number of delete actions performed on a table.
updates: i64
The number of update actions performed on a table.
ddls: i64
The data definition language (DDL) used to build and modify the structure of your tables.
full_load_rows: i64
The number of rows added during the full load operation.
full_load_condtnl_chk_failed_rows: i64
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
full_load_error_rows: i64
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
full_load_start_time: Option<DateTime>
The time when the full load operation started.
full_load_end_time: Option<DateTime>
The time when the full load operation completed.
full_load_reloaded: Option<bool>
A value that indicates if the table was reloaded (true
)
or loaded as part of a new full load operation (false
).
last_update_time: Option<DateTime>
The last time a table was updated.
table_state: 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 all | Table updates | Table is being reloaded
validation_pending_records: i64
The number of records that have yet to be validated.
validation_failed_records: i64
The number of records that failed validation.
validation_suspended_records: i64
The number of records that couldn't be validated.
validation_state: 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.
validation_state_details: Option<String>
Additional details about the state of validation.
Implementations
The schema name.
The name of the table.
The data definition language (DDL) used to build and modify the structure of your tables.
The number of rows added during the full load operation.
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
The time when the full load operation started.
The time when the full load operation completed.
A value that indicates if the table was reloaded (true
)
or loaded as part of a new full load operation (false
).
The last time a table was updated.
The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table all | Table updates | Table is being reloaded
The number of records that have yet to be validated.
The number of records that failed validation.
The number of records that couldn't be validated.
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.
Additional details about the state of validation.
Creates a new builder-style object to manufacture TableStatistics
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TableStatistics
impl Send for TableStatistics
impl Sync for TableStatistics
impl Unpin for TableStatistics
impl UnwindSafe for TableStatistics
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more