public static enum SqlPlanBaselineSummary.Adaptive extends Enum<SqlPlanBaselineSummary.Adaptive> implements BmcEnum
Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
When a new adaptive plan is found for a SQL statement that has an existing SQL plan
baseline, that new plan will be added to the SQL plan baseline as an unaccepted plan, and the
ADAPTIVE
property will be marked YES
. When this new plan is verified (either
manually or via the auto evolve task), the plan will be test executed and the final plan
determined at execution will become an accepted plan if its performance is better than the
existing plan baseline. At this point, the value of the ADAPTIVE
property is set to
NO
since the plan is no longer adaptive, but resolved.
Enum Constant and Description |
---|
No |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Yes |
Modifier and Type | Method and Description |
---|---|
static SqlPlanBaselineSummary.Adaptive |
create(String key) |
String |
getValue() |
static SqlPlanBaselineSummary.Adaptive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlPlanBaselineSummary.Adaptive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlPlanBaselineSummary.Adaptive Yes
public static final SqlPlanBaselineSummary.Adaptive No
public static final SqlPlanBaselineSummary.Adaptive UnknownEnumValue
public static SqlPlanBaselineSummary.Adaptive[] values()
for (SqlPlanBaselineSummary.Adaptive c : SqlPlanBaselineSummary.Adaptive.values()) System.out.println(c);
public static SqlPlanBaselineSummary.Adaptive valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SqlPlanBaselineSummary.Adaptive create(String key)
Copyright © 2016–2024. All rights reserved.