Enum CompatibilityOption

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<CompatibilityOption>

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230518")
    public enum CompatibilityOption
    extends Enum<CompatibilityOption>
    implements BmcEnum
    Compatibility option.

    FORCE_INNODB - Change CREATE TABLE statements to use the InnoDB storage engine for any tables that do not already use it. SKIP_INVALID_ACCOUNTS - Remove user accounts created with external authentication plugins that are not supported in MySQL HeatWave Service. STRIP_DEFINERS - Remove the DEFINER clause from views, routines, events, and triggers, so these objects are created with the default definer. STRIP_RESTRICTED_GRANTS - Remove specific privileges that are restricted by MySQL HeatWave Service from GRANT statements, so users and their roles cannot be given these privileges STRIP_TABLESPACES - Remove the TABLESPACE clause from CREATE TABLE statements, so all tables are created in their default tablespaces. IGNORE_WILDCARD_GRANTS - Ignore errors from grants on schemas with wildcards, which are interpreted differently in systems where the partial_revokes system variable is enabled. STRIP_INVALID_GRANTS - Strip grant statements which would fail when users are loaded. Such as grants referring to a specific routine which does not exist.

    • Method Detail

      • values

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

        public static CompatibilityOption 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