Enum Class RecordV2Delta.Change.Type
- All Implemented Interfaces:
Serializable,Comparable<RecordV2Delta.Change.Type>,Constable
- Enclosing interface:
- RecordV2Delta.Change
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe change indicates that a field had its value changed.The change indicates that one or more field values have been added.The change indicates that a field value has been removed.The change indicates that one or more records have been added.The change indicates that one or more records have been removed. -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordV2Delta.Change.TypeReturns the enum constant of this class with the specified name.static RecordV2Delta.Change.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIELD_CHANGED
The change indicates that a field had its value changed.This could be a field that has had its value changed or a new field that has been added at the end of a variable length record.
The change will contain name and index details of both the record and the field.
-
FIELDS_ADDED
The change indicates that one or more field values have been added.This will only occur when variable multiplicity fields are used within records.
The change will contain name and index of the record and the name and index of the first field added.
-
FIELDS_REMOVED
The change indicates that a field value has been removed.This will only occur when variable multiplicity fields are used within records.
The change will contain name and index details of the record and the name and index of the first field removed.
-
RECORDS_ADDED
The change indicates that one or more records have been added.This will only occur when variable multiplicity records are in use.
The change will contain only the record name and the index of the first record added.
-
RECORDS_REMOVED
The change indicates that one or more records have been removed.This will only occur when variable multiplicity records are in use.
The change will contain only the record name and the index of the first record removed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-