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