Enum SqlPlanBaseline.Adaptive

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<SqlPlanBaseline.Adaptive>
    Enclosing class:
    SqlPlanBaseline

    public static enum SqlPlanBaseline.Adaptive
    extends Enum<SqlPlanBaseline.Adaptive>
    implements BmcEnum
    Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.

    When a new adaptive plan is found for a SQL statement that has an existing SQL plan baseline, that new plan will be added to the SQL plan baseline as an unaccepted plan, and the ADAPTIVE property will be marked YES. When this new plan is verified (either manually or via the auto evolve task), the plan will be test executed and the final plan determined at execution will become an accepted plan if its performance is better than the existing plan baseline. At this point, the value of the ADAPTIVE property is set to NO since the plan is no longer adaptive, but resolved.

    • Method Detail

      • values

        public static SqlPlanBaseline.Adaptive[] 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 (SqlPlanBaseline.Adaptive c : SqlPlanBaseline.Adaptive.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqlPlanBaseline.Adaptive 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