DataVerificationObjectTypeCountSummary¶
- class oci.database_migration.models.DataVerificationObjectTypeCountSummary(**kwargs)¶
Bases:
objectObject type count comparison summary line.
Attributes:
A constant which can be used with the database_combination property of a DataVerificationObjectTypeCountSummary.
A constant which can be used with the database_combination property of a DataVerificationObjectTypeCountSummary.
[Required] Gets the database_combination of this DataVerificationObjectTypeCountSummary.
[Required] Gets the delta_percent of this DataVerificationObjectTypeCountSummary.
Gets the schema_name of this DataVerificationObjectTypeCountSummary.
[Required] Gets the source_object_count of this DataVerificationObjectTypeCountSummary.
[Required] Gets the target_object_count of this DataVerificationObjectTypeCountSummary.
Methods:
__init__(**kwargs)Initializes a new DataVerificationObjectTypeCountSummary object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- DATABASE_COMBINATION_MYSQL = 'MYSQL'¶
A constant which can be used with the database_combination property of a DataVerificationObjectTypeCountSummary. This constant has a value of “MYSQL”
- DATABASE_COMBINATION_ORACLE = 'ORACLE'¶
A constant which can be used with the database_combination property of a DataVerificationObjectTypeCountSummary. This constant has a value of “ORACLE”
- __init__(**kwargs)¶
Initializes a new DataVerificationObjectTypeCountSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
database_combination (str) – The value to assign to the database_combination property of this DataVerificationObjectTypeCountSummary. Allowed values for this property are: “MYSQL”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
schema_name (str) – The value to assign to the schema_name property of this DataVerificationObjectTypeCountSummary.
source_object_count (int) – The value to assign to the source_object_count property of this DataVerificationObjectTypeCountSummary.
target_object_count (int) – The value to assign to the target_object_count property of this DataVerificationObjectTypeCountSummary.
delta_percent (float) – The value to assign to the delta_percent property of this DataVerificationObjectTypeCountSummary.
- property database_combination¶
[Required] Gets the database_combination of this DataVerificationObjectTypeCountSummary. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
Allowed values for this property are: “MYSQL”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The database_combination of this DataVerificationObjectTypeCountSummary.
- Return type
str
- property delta_percent¶
[Required] Gets the delta_percent of this DataVerificationObjectTypeCountSummary. Percentage delta between source and target counts. This value is expected to be non-negative.
If a negative value is encountered, it indicates that the target has objects not present in the source, which should be treated as an inconsistency (i.e., a failed comparison/report result).
- Returns
The delta_percent of this DataVerificationObjectTypeCountSummary.
- Return type
float
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property schema_name¶
Gets the schema_name of this DataVerificationObjectTypeCountSummary. Schema/owner name.
This field is omitted (null/empty depending on backend serialization) for database-wide object types that are not schema-scoped.
Oracle non-schema-scoped object types: USER, ROLE, PROFILE, TABLESPACE, DATABASE_LINK, CONTROLFILE, DATAFILE, REDO_LOG, DIRECTORY, LIBRARY, CONTEXT.
MySQL non-schema-scoped object types: USER, ROLE, SERVER, TABLESPACE, LOGFILE_GROUP.
- Returns
The schema_name of this DataVerificationObjectTypeCountSummary.
- Return type
str
- property source_object_count¶
[Required] Gets the source_object_count of this DataVerificationObjectTypeCountSummary. Number of objects in source.
- Returns
The source_object_count of this DataVerificationObjectTypeCountSummary.
- Return type
int
- property target_object_count¶
[Required] Gets the target_object_count of this DataVerificationObjectTypeCountSummary. Number of objects in target.
- Returns
The target_object_count of this DataVerificationObjectTypeCountSummary.
- Return type
int