public static enum RecordV2Delta.Change.Type extends Enum<RecordV2Delta.Change.Type>
Enum Constant and Description |
---|
FIELD_CHANGED
The change indicates that a field had its value changed.
|
FIELDS_ADDED
The change indicates that one or more field values have been
added.
|
FIELDS_REMOVED
The change indicates that a field value has been removed.
|
RECORDS_ADDED
The change indicates that one or more records have been added.
|
RECORDS_REMOVED
The change indicates that one or more records have been removed.
|
Modifier and Type | Method and Description |
---|---|
static RecordV2Delta.Change.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordV2Delta.Change.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordV2Delta.Change.Type FIELD_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.
public static final RecordV2Delta.Change.Type FIELDS_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.
public static final RecordV2Delta.Change.Type FIELDS_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.
public static final RecordV2Delta.Change.Type RECORDS_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.
public static final RecordV2Delta.Change.Type RECORDS_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.
public static RecordV2Delta.Change.Type[] values()
for (RecordV2Delta.Change.Type c : RecordV2Delta.Change.Type.values()) System.out.println(c);
public static RecordV2Delta.Change.Type 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 nullCopyright © 2022 Push Technology Ltd. All Rights Reserved.