Class SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A summary for all the statistic findings of an object in a SQL Tuning Advisor task.Includes the object’s hash, name, type, schema, problem type and the object reference count.
Note: Objects should always be created or deserialized using theSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder
. 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 theSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder
, which maintain a set of all explicitly set fields calledSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder.__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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder
static class
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.ProblemType
Type of statistics problem related to the object.
-
Constructor Summary
Constructors Constructor Description SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary(Long objectHashValue, String objectName, String objectType, String schema, SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.ProblemType problemType, Integer referenceCount)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Long
getObjectHashValue()
Numerical representation of the object.String
getObjectName()
Name of the object.String
getObjectType()
Type of the object.SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.ProblemType
getProblemType()
Type of statistics problem related to the object.Integer
getReferenceCount()
The number of the times the object is referenced within the SQL Tuning advisor task findings.String
getSchema()
Schema of the object.int
hashCode()
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary
@Deprecated @ConstructorProperties({"objectHashValue","objectName","objectType","schema","problemType","referenceCount"}) public SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary(Long objectHashValue, String objectName, String objectType, String schema, SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.ProblemType problemType, Integer referenceCount)
Deprecated.
-
-
Method Detail
-
builder
public static SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder builder()
Create a new builder.
-
toBuilder
public SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.Builder toBuilder()
-
getObjectHashValue
public Long getObjectHashValue()
Numerical representation of the object.- Returns:
- the value
-
getObjectName
public String getObjectName()
Name of the object.- Returns:
- the value
-
getObjectType
public String getObjectType()
Type of the object.- Returns:
- the value
-
getSchema
public String getSchema()
Schema of the object.- Returns:
- the value
-
getProblemType
public SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary.ProblemType getProblemType()
Type of statistics problem related to the object.- Returns:
- the value
-
getReferenceCount
public Integer getReferenceCount()
The number of the times the object is referenced within the SQL Tuning advisor task findings.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-