public static enum LoadSqlTuningSetDetails.CaptureMode extends Enum<LoadSqlTuningSetDetails.CaptureMode> implements BmcEnum
Specifies the capture mode. Note that this parameter is applicable only for UPDATE and MERGE capture options. Capture mode can take one of the following values - MODE_REPLACE_OLD_STATS Replaces statistics when the number of executions is greater than the number stored in the Sql tuning set - MODE_ACCUMULATE_STATS Adds new values to current values for Sql that is already stored. Note that this mode detects if a statement has been aged out, so the final value for a statistics is the sum of the statistics of all cursors that statement existed under.
Enum Constant and Description |
---|
ModeAccumulateStats |
ModeReplaceOldStats |
Modifier and Type | Method and Description |
---|---|
static LoadSqlTuningSetDetails.CaptureMode |
create(String key) |
String |
getValue() |
static LoadSqlTuningSetDetails.CaptureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadSqlTuningSetDetails.CaptureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadSqlTuningSetDetails.CaptureMode ModeReplaceOldStats
public static final LoadSqlTuningSetDetails.CaptureMode ModeAccumulateStats
public static LoadSqlTuningSetDetails.CaptureMode[] values()
for (LoadSqlTuningSetDetails.CaptureMode c : LoadSqlTuningSetDetails.CaptureMode.values()) System.out.println(c);
public static LoadSqlTuningSetDetails.CaptureMode 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.CaptureMode create(String key)
Copyright © 2016–2024. All rights reserved.