Class TableStatistics
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TableStatistics.Builder,
TableStatistics>
Provides a collection of table statistics in response to a request by the DescribeTableStatistics
operation.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Long
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.final Long
The number of delete actions applied on a target table.final Long
The number of insert actions applied on a target table.final Long
The number of update actions applied on a target table.static TableStatistics.Builder
builder()
final Long
ddls()
The data definition language (DDL) used to build and modify the structure of your tables.final Long
deletes()
The number of delete actions performed on a table.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Long
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).final Instant
The time when the full load operation completed.final Long
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).final Boolean
A value that indicates if the table was reloaded (true
) or loaded as part of a new full load operation (false
).final Long
The number of rows added during the full load operation.final Instant
The time when the full load operation started.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Long
inserts()
The number of insert actions performed on a table.final Instant
The last time a table was updated.final String
The schema name.static Class
<? extends TableStatistics.Builder> final String
The name of the table.final String
The state of the tables described.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Long
updates()
The number of update actions performed on a table.final Long
The number of records that failed validation.final Long
The number of records that have yet to be validated.final String
The validation state of the table.final String
Additional details about the state of validation.final Long
The number of records that couldn't be validated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
schemaName
The schema name.
- Returns:
- The schema name.
-
tableName
The name of the table.
- Returns:
- The name of the table.
-
inserts
The number of insert actions performed on a table.
- Returns:
- The number of insert actions performed on a table.
-
deletes
The number of delete actions performed on a table.
- Returns:
- The number of delete actions performed on a table.
-
updates
The number of update actions performed on a table.
- Returns:
- The number of update actions performed on a table.
-
ddls
The data definition language (DDL) used to build and modify the structure of your tables.
- Returns:
- The data definition language (DDL) used to build and modify the structure of your tables.
-
appliedInserts
The number of insert actions applied on a target table.
- Returns:
- The number of insert actions applied on a target table.
-
appliedDeletes
The number of delete actions applied on a target table.
- Returns:
- The number of delete actions applied on a target table.
-
appliedUpdates
The number of update actions applied on a target table.
- Returns:
- The number of update actions applied on a target table.
-
appliedDdls
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
- Returns:
- The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
-
fullLoadRows
The number of rows added during the full load operation.
- Returns:
- The number of rows added during the full load operation.
-
fullLoadCondtnlChkFailedRows
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
- Returns:
- The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
-
fullLoadErrorRows
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
- Returns:
- The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
-
fullLoadStartTime
The time when the full load operation started.
- Returns:
- The time when the full load operation started.
-
fullLoadEndTime
The time when the full load operation completed.
- Returns:
- The time when the full load operation completed.
-
fullLoadReloaded
A value that indicates if the table was reloaded (
true
) or loaded as part of a new full load operation (false
).- Returns:
- A value that indicates if the table was reloaded (
true
) or loaded as part of a new full load operation (false
).
-
lastUpdateTime
The last time a table was updated.
- Returns:
- The last time a table was updated.
-
tableState
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
- Returns:
- 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
-
validationPendingRecords
The number of records that have yet to be validated.
- Returns:
- The number of records that have yet to be validated.
-
validationFailedRecords
The number of records that failed validation.
- Returns:
- The number of records that failed validation.
-
validationSuspendedRecords
The number of records that couldn't be validated.
- Returns:
- The number of records that couldn't be validated.
-
validationState
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.
- Returns:
- 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.
-
-
-
validationStateDetails
Additional details about the state of validation.
- Returns:
- Additional details about the state of validation.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TableStatistics.Builder,
TableStatistics> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-