Package org.spf4j.avro.schema
Enum SchemaDiff.Type
- java.lang.Object
-
- java.lang.Enum<SchemaDiff.Type>
-
- org.spf4j.avro.schema.SchemaDiff.Type
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaDiff.Type>
- Enclosing interface:
- SchemaDiff
public static enum SchemaDiff.Type extends Enum<SchemaDiff.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaDiff.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaDiff.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIFFERENT_TYPES
public static final SchemaDiff.Type DIFFERENT_TYPES
-
DIFFERENT_FIXED_SIZE
public static final SchemaDiff.Type DIFFERENT_FIXED_SIZE
-
DIFFERENT_NAMES
public static final SchemaDiff.Type DIFFERENT_NAMES
-
DIFFERENT_ENUM_VALUES
public static final SchemaDiff.Type DIFFERENT_ENUM_VALUES
-
SCHEMA_MISSING_LEFT
public static final SchemaDiff.Type SCHEMA_MISSING_LEFT
-
SCHEMA_MISSING_RIGHT
public static final SchemaDiff.Type SCHEMA_MISSING_RIGHT
-
FIELD_MISSING_LEFT
public static final SchemaDiff.Type FIELD_MISSING_LEFT
-
FIELD_MISSING_RIGHT
public static final SchemaDiff.Type FIELD_MISSING_RIGHT
-
DIFFERENT_LOGICAL_TYPES
public static final SchemaDiff.Type DIFFERENT_LOGICAL_TYPES
-
DIFFERENT_SCHEMA_PROPERTIES
public static final SchemaDiff.Type DIFFERENT_SCHEMA_PROPERTIES
-
DIFFERRENT_SCHEMA_DOC
public static final SchemaDiff.Type DIFFERRENT_SCHEMA_DOC
-
DIFFERENT_FIELD_DEFAULTS
public static final SchemaDiff.Type DIFFERENT_FIELD_DEFAULTS
-
DIFFERENT_FIELD_PROPERTIES
public static final SchemaDiff.Type DIFFERENT_FIELD_PROPERTIES
-
DIFFERRENT_FIELD_DOC
public static final SchemaDiff.Type DIFFERRENT_FIELD_DOC
-
-
Method Detail
-
values
public static SchemaDiff.Type[] 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 (SchemaDiff.Type c : SchemaDiff.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaDiff.Type 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
-
-