Enum SqlPlanBaseline.Adaptive
- java.lang.Object
-
- java.lang.Enum<SqlPlanBaseline.Adaptive>
-
- com.oracle.bmc.databasemanagement.model.SqlPlanBaseline.Adaptive
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SqlPlanBaseline.Adaptive>
- Enclosing class:
- SqlPlanBaseline
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 Summary
Enum Constants Enum Constant 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Yes
public static final SqlPlanBaseline.Adaptive Yes
-
No
public static final SqlPlanBaseline.Adaptive No
-
UnknownEnumValue
public static final SqlPlanBaseline.Adaptive UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static SqlPlanBaseline.Adaptive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SqlPlanBaseline.Adaptive c : SqlPlanBaseline.Adaptive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlPlanBaseline.Adaptive valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static SqlPlanBaseline.Adaptive create(String key)
-
-