public static enum CompatibilityOptions.Mode extends java.lang.Enum<CompatibilityOptions.Mode>
The DATA
mode checks if the data representation,
e.g. in-memory as Data objects or serialized to JSON,
are compatible.
The SCHEMA
mode is more strict than DATA
mode. Not only must the data representation be compatible,
typeref's are included in the compatibility check and the
typeref's must also be compatible.
Enum Constant and Description |
---|
DATA
Check whether the data representation is compatible, excludes
checking typeref compatibility.
|
SCHEMA
Check whether the schema is compatible, includes checking
typeref compatibility.
|
Modifier and Type | Method and Description |
---|---|
static CompatibilityOptions.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompatibilityOptions.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompatibilityOptions.Mode DATA
public static final CompatibilityOptions.Mode SCHEMA
public static CompatibilityOptions.Mode[] values()
for (CompatibilityOptions.Mode c : CompatibilityOptions.Mode.values()) System.out.println(c);
public static CompatibilityOptions.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null