Class SqlInsightAggregation
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.SqlInsightAggregation
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlInsightAggregation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelRepresents a SQL Insight.
Note: Objects should always be created or deserialized using theSqlInsightAggregation.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 theSqlInsightAggregation.Builder, which maintain a set of all explicitly set fields calledSqlInsightAggregation.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 classSqlInsightAggregation.Builder
-
Constructor Summary
Constructors Constructor Description SqlInsightAggregation(String text, List<Integer> values, String category)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlInsightAggregation.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCategory()Insight category.StringgetText()Insight text.List<Integer>getValues()SQL counts for a given insight.inthashCode()SqlInsightAggregation.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SqlInsightAggregation
@Deprecated @ConstructorProperties({"text","values","category"}) public SqlInsightAggregation(String text, List<Integer> values, String category)
Deprecated.
-
-
Method Detail
-
builder
public static SqlInsightAggregation.Builder builder()
Create a new builder.
-
toBuilder
public SqlInsightAggregation.Builder toBuilder()
-
getText
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%
- Returns:
- the value
-
getValues
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]"
- Returns:
- the value
-
getCategory
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
- 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
-
-