Enum LoadSqlTuningSetDetails.CaptureMode

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<LoadSqlTuningSetDetails.CaptureMode>
    Enclosing class:
    LoadSqlTuningSetDetails

    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.

    • Method Detail

      • values

        public static LoadSqlTuningSetDetails.CaptureMode[] 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.CaptureMode c : LoadSqlTuningSetDetails.CaptureMode.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.CaptureMode 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