Enum LoadSqlTuningSetDetails.UpdateCondition
- java.lang.Object
-
- java.lang.Enum<LoadSqlTuningSetDetails.UpdateCondition>
-
- com.oracle.bmc.databasemanagement.model.LoadSqlTuningSetDetails.UpdateCondition
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LoadSqlTuningSetDetails.UpdateCondition>
- Enclosing class:
- LoadSqlTuningSetDetails
public static enum LoadSqlTuningSetDetails.UpdateCondition extends Enum<LoadSqlTuningSetDetails.UpdateCondition> implements BmcEnum
Specifies when to perform the update.The procedure only performs the update when the specified condition is satisfied. The condition can refer to either the data source or destination. The condition must use the following prefixes to refer to attributes from the source or the destination: OLD \u2014 Refers to statement attributes from the SQL tuning set (destination). NEW \u2014 Refers to statement attributes from the input statements (source). NULL \u2014 No updates are performed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadSqlTuningSetDetails.UpdateCondition
create(String key)
String
getValue()
static LoadSqlTuningSetDetails.UpdateCondition
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoadSqlTuningSetDetails.UpdateCondition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Old
public static final LoadSqlTuningSetDetails.UpdateCondition Old
-
New
public static final LoadSqlTuningSetDetails.UpdateCondition New
-
Null
public static final LoadSqlTuningSetDetails.UpdateCondition Null
-
-
Method Detail
-
values
public static LoadSqlTuningSetDetails.UpdateCondition[] 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 (LoadSqlTuningSetDetails.UpdateCondition c : LoadSqlTuningSetDetails.UpdateCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadSqlTuningSetDetails.UpdateCondition 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 LoadSqlTuningSetDetails.UpdateCondition create(String key)
-
-