@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlInsightAggregation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Represents a SQL Insight.
Note: Objects should always be created or deserialized using the SqlInsightAggregation.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 SqlInsightAggregation.Builder
, which maintain a
set of all explicitly set fields called SqlInsightAggregation.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlInsightAggregation.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlInsightAggregation(String text,
List<Integer> values,
String category)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlInsightAggregation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCategory()
Insight category.
|
String |
getText()
Insight text.
|
List<Integer> |
getValues()
SQL counts for a given insight.
|
int |
hashCode() |
SqlInsightAggregation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"text","values","category"}) public SqlInsightAggregation(String text, List<Integer> values, String category)
public static SqlInsightAggregation.Builder builder()
Create a new builder.
public SqlInsightAggregation.Builder toBuilder()
public String getText()
Insight text. For example Degrading SQLs
, Variant SQLs
, Inefficient
SQLs
, Improving SQLs
, SQLs with Plan Changes
, Degrading SQLs have
increasing IO Time above 50%
, Degrading SQLs are variant
, 2 of the 2 variant
SQLs have plan changes
, Inefficient SQLs have increasing CPU Time above 50%
public List<Integer> getValues()
SQL counts for a given insight. For example insight text 2 of 10 SQLs have degrading
response time
will have values as [2,10]"
public String getCategory()
Insight category. It would be one of the following DEGRADING, VARIANT, INEFFICIENT, CHANGING_PLANS, IMPROVING, DEGRADING_VARIANT, DEGRADING_INEFFICIENT, DEGRADING_CHANGING_PLANS, DEGRADING_INCREASING_IO, DEGRADING_INCREASING_CPU, DEGRADING_INCREASING_INEFFICIENT_WAIT, DEGRADING_CHANGING_PLANS_AND_INCREASING_IO, DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU, DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,VARIANT_INEFFICIENT, VARIANT_CHANGING_PLANS, VARIANT_INCREASING_IO, VARIANT_INCREASING_CPU, VARIANT_INCREASING_INEFFICIENT_WAIT, VARIANT_CHANGING_PLANS_AND_INCREASING_IO, VARIANT_CHANGING_PLANS_AND_INCREASING_CPU, VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT, INEFFICIENT_CHANGING_PLANS, INEFFICIENT_INCREASING_INEFFICIENT_WAIT, INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT
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–2024. All rights reserved.