Enum Class FieldMapper.SyntheticSourceMode

java.lang.Object
java.lang.Enum<FieldMapper.SyntheticSourceMode>
org.elasticsearch.index.mapper.FieldMapper.SyntheticSourceMode
All Implemented Interfaces:
Serializable, Comparable<FieldMapper.SyntheticSourceMode>, Constable
Enclosing class:
FieldMapper

protected static enum FieldMapper.SyntheticSourceMode extends Enum<FieldMapper.SyntheticSourceMode>
Specifies the mode of synthetic source support by the mapper.
 NATIVE - mapper natively supports synthetic source, f.e. by constructing it from doc values.

 FALLBACK - mapper does not have native support and uses generic fallback implementation
 that stores raw input source data as is.
 
  • Enum Constant Details

  • Method Details

    • values

      public static FieldMapper.SyntheticSourceMode[] 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

      public static FieldMapper.SyntheticSourceMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null