Package org.elasticsearch.index
Enum Class IndexMode
- All Implemented Interfaces:
Serializable
,Comparable<IndexMode>
,Constable
"Mode" that controls which behaviors and settings an index supports.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract void
completeMappings
(MappingParserContext context, Map<String, Object> mapping, RootObjectMapper.Builder builder) Validate and/or modify the mappings after after they've been parsed.abstract void
validateAlias
(String indexRouting, String searchRouting) Validate aliases targeting this index.abstract void
validateMapping
(MappingLookup lookup) Validate the mapping for this index.static IndexMode
Returns the enum constant of this class with the specified name.static IndexMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
-
TIME_SERIES
-
-
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
-
validateMapping
Validate the mapping for this index. -
validateAlias
Validate aliases targeting this index. -
completeMappings
public abstract void completeMappings(MappingParserContext context, Map<String, Object> mapping, RootObjectMapper.Builder builder) Validate and/or modify the mappings after after they've been parsed.
-