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 SummaryEnum Constants Enum Constant Description AccumulateReplace
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveSqlTuningSetAsDetails.UpdateOptioncreate(String key)StringgetValue()static SaveSqlTuningSetAsDetails.UpdateOptionvalueOf(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- 
Replacepublic static final SaveSqlTuningSetAsDetails.UpdateOption Replace 
 - 
Accumulatepublic static final SaveSqlTuningSetAsDetails.UpdateOption Accumulate 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static SaveSqlTuningSetAsDetails.UpdateOption create(String key) 
 
- 
 
-