Enum Class SyntheticSourceKeepEnum
java.lang.Object
java.lang.Enum<SyntheticSourceKeepEnum>
co.elastic.clients.elasticsearch._types.mapping.SyntheticSourceKeepEnum
- All Implemented Interfaces:
JsonEnum,JsonpSerializable,Serializable,Comparable<SyntheticSourceKeepEnum>,Constable
@JsonpDeserializable
public enum SyntheticSourceKeepEnum
extends Enum<SyntheticSourceKeepEnum>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe source for both singleton instances and arrays of the corresponding field or object gets recorded.Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.Synthetic source diverges from the original source (default) -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SyntheticSourceKeepEnumReturns the enum constant of this class with the specified name.static SyntheticSourceKeepEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Synthetic source diverges from the original source (default) -
Arrays
Arrays of the corresponding field or object preserve the original element ordering and duplicate elements. The synthetic source fragment for such arrays is not guaranteed to match the original source exactly, e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5]. The exact format may change in the future, in an effort to reduce the storage overhead of this option. -
All
The source for both singleton instances and arrays of the corresponding field or object gets recorded. When applied to objects, the source of all sub-objects and sub-fields gets captured. Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
-
-
Field Details
-
_DESERIALIZER
-
-
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
-
jsonValue
-