Class DataVerificationTableRowCountSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.DataVerificationTableRowCountSummary
-
- Direct Known Subclasses:
MySqlDataVerificationTableRowCountSummary,OracleDataVerificationTableRowCountSummary
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public class DataVerificationTableRowCountSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTable row count comparison result line.
Note: Objects should always be created or deserialized using theBuilder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBuilder, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOwner()Schema/owner name.IntegergetSourceRowCount()Row count in source.StringgetTableName()Table name.IntegergetTargetRowCount()Row count in target.DoublegetVariancePercent()Percentage variance between source and target row counts.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DataVerificationTableRowCountSummary
@Deprecated @ConstructorProperties({"owner","tableName","sourceRowCount","targetRowCount","variancePercent"}) protected DataVerificationTableRowCountSummary(String owner, String tableName, Integer sourceRowCount, Integer targetRowCount, Double variancePercent)
Deprecated.
-
-
Method Detail
-
getOwner
public String getOwner()
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 value
-
getTableName
public String getTableName()
Table name.- Returns:
- the value
-
getSourceRowCount
public Integer getSourceRowCount()
Row count in source.- Returns:
- the value
-
getTargetRowCount
public Integer getTargetRowCount()
Row count in target.- Returns:
- the value
-
getVariancePercent
public Double getVariancePercent()
Percentage variance between source and target row counts.This value is expected to be non-negative.
A negative value indicates that the target has rows not present in the source, which should be treated as an inconsistency (i.e., a failed comparison/report result).
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-