public static enum SchemaDriftConfig.DataTypeChangeHandling extends Enum<SchemaDriftConfig.DataTypeChangeHandling> implements BmcEnum
The setting for how to handle columns/fields with changed data types.
Enum Constant and Description |
---|
Allow |
DoCastIfPossible |
DoNotAllow |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static SchemaDriftConfig.DataTypeChangeHandling |
create(String key) |
String |
getValue() |
static SchemaDriftConfig.DataTypeChangeHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaDriftConfig.DataTypeChangeHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaDriftConfig.DataTypeChangeHandling Allow
public static final SchemaDriftConfig.DataTypeChangeHandling DoCastIfPossible
public static final SchemaDriftConfig.DataTypeChangeHandling DoNotAllow
public static final SchemaDriftConfig.DataTypeChangeHandling UnknownEnumValue
public static SchemaDriftConfig.DataTypeChangeHandling[] values()
for (SchemaDriftConfig.DataTypeChangeHandling c : SchemaDriftConfig.DataTypeChangeHandling.values()) System.out.println(c);
public static SchemaDriftConfig.DataTypeChangeHandling valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SchemaDriftConfig.DataTypeChangeHandling create(String key)
Copyright © 2016–2023. All rights reserved.