@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningTaskPlanStats extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The statistics of a SQL execution plan.
Note: Objects should always be created or deserialized using the SqlTuningTaskPlanStats.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 SqlTuningTaskPlanStats.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 |
SqlTuningTaskPlanStats.Builder |
static class |
SqlTuningTaskPlanStats.PlanStatus
The status of the execution using the plan.
|
Constructor and Description |
---|
SqlTuningTaskPlanStats(String planType,
Map<String,Double> planStats,
SqlTuningTaskPlanStats.PlanStatus planStatus)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlTuningTaskPlanStats.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,Double> |
getPlanStats()
A map contains the statistics for the SQL execution using the plan.
|
SqlTuningTaskPlanStats.PlanStatus |
getPlanStatus()
The status of the execution using the plan.
|
String |
getPlanType()
The type of the original or modified plan with profile, index, and so on.
|
int |
hashCode() |
SqlTuningTaskPlanStats.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"planType","planStats","planStatus"}) public SqlTuningTaskPlanStats(String planType, Map<String,Double> planStats, SqlTuningTaskPlanStats.PlanStatus planStatus)
public static SqlTuningTaskPlanStats.Builder builder()
Create a new builder.
public SqlTuningTaskPlanStats.Builder toBuilder()
public String getPlanType()
The type of the original or modified plan with profile, index, and so on.
public Map<String,Double> getPlanStats()
A map contains the statistics for the SQL execution using the plan. The key of the map is the metric’s name. The value of the map is the metric’s value.
public SqlTuningTaskPlanStats.PlanStatus getPlanStatus()
The status of the execution using the plan.
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.