@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlInsightAggregation extends Object
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
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlInsightAggregation.Builder |
| 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) |
Set<String> |
get__explicitlySet__() |
String |
getCategory()
Insight category.
|
String |
getText()
Insight text.
|
List<Integer> |
getValues()
SQL counts for a given insight.
|
int |
hashCode() |
SqlInsightAggregation.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"text","values","category"}) @Deprecated 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
Copyright © 2016–2021. All rights reserved.