public static enum MapperService.MergeReason extends java.lang.Enum<MapperService.MergeReason>
| Enum Constant and Description |
|---|
MAPPING_RECOVERY
Recovery of an existing mapping, for instance because of a restart,
if a shard was moved to a different node or for administrative
purposes.
|
MAPPING_UPDATE
Create or update a mapping.
|
| Modifier and Type | Method and Description |
|---|---|
static MapperService.MergeReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapperService.MergeReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapperService.MergeReason MAPPING_UPDATE
public static final MapperService.MergeReason MAPPING_RECOVERY
public static MapperService.MergeReason[] values()
for (MapperService.MergeReason c : MapperService.MergeReason.values()) System.out.println(c);
public static MapperService.MergeReason 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