Class PlanningStats
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PlanningStats.Builder,PlanningStats>
Statistics about the source and the partitions in a migration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PlanningStats.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe number of source objects in the migration.final LongThe number of source objects that the migration found under the source table's location, whether or not it migrates them.final LongThe number of partitions in the destination table after this migration, or 0 if the source table isn't partitioned.static Class<? extends PlanningStats.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
objectsScanned
The number of source objects that the migration found under the source table's location, whether or not it migrates them. The object compatibility report has one row for each.
- Returns:
- The number of source objects that the migration found under the source table's location, whether or not it migrates them. The object compatibility report has one row for each.
-
objectsPlanned
The number of source objects in the migration. For a start, these are the source objects in the Amazon Web Services Glue table's partitions, or under the table's location if the table isn't partitioned. For a sync, these are all the source objects of the table after the sync, including objects that earlier migrations migrated.
- Returns:
- The number of source objects in the migration. For a start, these are the source objects in the Amazon Web Services Glue table's partitions, or under the table's location if the table isn't partitioned. For a sync, these are all the source objects of the table after the sync, including objects that earlier migrations migrated.
-
partitionCount
The number of partitions in the destination table after this migration, or 0 if the source table isn't partitioned. This value is returned when planning produces a valid plan.
- Returns:
- The number of partitions in the destination table after this migration, or 0 if the source table isn't partitioned. This value is returned when planning produces a valid plan.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PlanningStats.Builder,PlanningStats> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-