Enum LoadSqlTuningSetDetails.UpdateOption

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

    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

    • Method Detail

      • values

        public static LoadSqlTuningSetDetails.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 (LoadSqlTuningSetDetails.UpdateOption c : LoadSqlTuningSetDetails.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 LoadSqlTuningSetDetails.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