Enum Class IndexAbstraction.Type
- All Implemented Interfaces:
Serializable
,Comparable<IndexAbstraction.Type>
,Constable
- Enclosing interface:
- IndexAbstraction
An index abstraction type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn index abstraction that refers to an alias.An index abstraction that refers to a single concrete index.An index abstraction that refers to a data stream. -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexAbstraction.Type
Returns the enum constant of this class with the specified name.static IndexAbstraction.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONCRETE_INDEX
An index abstraction that refers to a single concrete index. This concrete index is also the write index. -
ALIAS
An index abstraction that refers to an alias. An alias typically refers to many concrete indices and may have a write index. -
DATA_STREAM
An index abstraction that refers to a data stream. A data stream typically has multiple backing indices, the latest of which is the target for index requests.
-
-
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
-
getDisplayName
-