Enum CompatibilityOption
- java.lang.Object
-
- java.lang.Enum<CompatibilityOption>
-
- com.oracle.bmc.databasemigration.model.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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ForceInnodb
IgnoreWildcardGrants
SkipInvalidAccounts
StripDefiners
StripInvalidGrants
StripRestrictedGrants
StripTablespaces
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompatibilityOption
create(String key)
String
getValue()
static CompatibilityOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompatibilityOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ForceInnodb
public static final CompatibilityOption ForceInnodb
-
SkipInvalidAccounts
public static final CompatibilityOption SkipInvalidAccounts
-
StripDefiners
public static final CompatibilityOption StripDefiners
-
StripRestrictedGrants
public static final CompatibilityOption StripRestrictedGrants
-
StripTablespaces
public static final CompatibilityOption StripTablespaces
-
IgnoreWildcardGrants
public static final CompatibilityOption IgnoreWildcardGrants
-
StripInvalidGrants
public static final CompatibilityOption StripInvalidGrants
-
UnknownEnumValue
public static final CompatibilityOption UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
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 nameNullPointerException
- if the argument is null
-
create
public static CompatibilityOption create(String key)
-
-