Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Enum Class MappedFieldType.FieldExtractPreference
java.lang.Object
java.lang.Enum<MappedFieldType.FieldExtractPreference>
org.elasticsearch.index.mapper.MappedFieldType.FieldExtractPreference
- All Implemented Interfaces:
Serializable
,Comparable<MappedFieldType.FieldExtractPreference>
,Constable
- Enclosing class:
- MappedFieldType
public static enum MappedFieldType.FieldExtractPreference
extends Enum<MappedFieldType.FieldExtractPreference>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLoad the field from doc-values into a BlockLoader supporting doc-values.No preference. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOC_VALUES
Load the field from doc-values into a BlockLoader supporting doc-values. -
NONE
No preference. Leave the choice of where to load the field from up to the FieldType.
-
-
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
-