@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningAdvisorTaskSummaryReportStatementCounts extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The number of statements in the SQL Tuning Advisor summary report.
Note: Objects should always be created or deserialized using the SqlTuningAdvisorTaskSummaryReportStatementCounts.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 the SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder |
Constructor and Description |
---|
SqlTuningAdvisorTaskSummaryReportStatementCounts(Integer distinctSql,
Integer totalSql,
Integer findingCount,
Integer errorCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getDistinctSql()
The number of distinct SQL statements.
|
Integer |
getErrorCount()
The number of distinct SQL statements with errors.
|
Integer |
getFindingCount()
The number of distinct SQL statements with findings.
|
Integer |
getTotalSql()
The total number of SQL statements.
|
int |
hashCode() |
SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"distinctSql","totalSql","findingCount","errorCount"}) public SqlTuningAdvisorTaskSummaryReportStatementCounts(Integer distinctSql, Integer totalSql, Integer findingCount, Integer errorCount)
public static SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder builder()
Create a new builder.
public SqlTuningAdvisorTaskSummaryReportStatementCounts.Builder toBuilder()
public Integer getDistinctSql()
The number of distinct SQL statements.
public Integer getTotalSql()
The total number of SQL statements.
public Integer getFindingCount()
The number of distinct SQL statements with findings.
public Integer getErrorCount()
The number of distinct SQL statements with errors.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.