Enum Class MappedFieldType.Relation

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

public static enum MappedFieldType.Relation extends Enum<MappedFieldType.Relation>
An enum used to describe the relation between the range of terms in a shard when compared with a query range
  • Enum Constant Details

  • Method Details

    • values

      public static MappedFieldType.Relation[] 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 MappedFieldType.Relation 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