public static enum SqlPlanBaseline.Adaptive extends Enum<SqlPlanBaseline.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 SqlPlanBaseline.Adaptive |
create(String key) |
String |
getValue() |
static SqlPlanBaseline.Adaptive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlPlanBaseline.Adaptive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlPlanBaseline.Adaptive Yes
public static final SqlPlanBaseline.Adaptive No
public static final SqlPlanBaseline.Adaptive UnknownEnumValue
public static SqlPlanBaseline.Adaptive[] values()
for (SqlPlanBaseline.Adaptive c : SqlPlanBaseline.Adaptive.values()) System.out.println(c);
public static SqlPlanBaseline.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 SqlPlanBaseline.Adaptive create(String key)
Copyright © 2016–2024. All rights reserved.