Enum SaveSqlTuningSetAsDetails.UpdateOption
- java.lang.Object
-
- java.lang.Enum<SaveSqlTuningSetAsDetails.UpdateOption>
-
- com.oracle.bmc.databasemanagement.model.SaveSqlTuningSetAsDetails.UpdateOption
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SaveSqlTuningSetAsDetails.UpdateOption>
- Enclosing class:
- SaveSqlTuningSetAsDetails
public static enum SaveSqlTuningSetAsDetails.UpdateOption extends Enum<SaveSqlTuningSetAsDetails.UpdateOption> implements BmcEnum
Specifies how existing Sql statements are updated.This parameter is applicable only if load_option is specified with UPDATE or MERGE as an option. Update option can take one of the following values. REPLACE (default) - Updates the statement using the new statistics, bind list, object list, and so on. ACCUMULATE - Combines attributes when possible (for example, statistics such as elapsed_time), otherwise replaces the existing values (for example, module and action) with the provided values. Following Sql statement attributes can be accumulated. elapsed_time buffer_gets direct_writes disk_reads row_processed fetches executions end_of_fetch_count stat_period active_stat_period
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Accumulate
Replace
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveSqlTuningSetAsDetails.UpdateOption
create(String key)
String
getValue()
static SaveSqlTuningSetAsDetails.UpdateOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static SaveSqlTuningSetAsDetails.UpdateOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Replace
public static final SaveSqlTuningSetAsDetails.UpdateOption Replace
-
Accumulate
public static final SaveSqlTuningSetAsDetails.UpdateOption Accumulate
-
-
Method Detail
-
values
public static SaveSqlTuningSetAsDetails.UpdateOption[] 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 (SaveSqlTuningSetAsDetails.UpdateOption c : SaveSqlTuningSetAsDetails.UpdateOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaveSqlTuningSetAsDetails.UpdateOption 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 SaveSqlTuningSetAsDetails.UpdateOption create(String key)
-
-