java.lang.Object
java.lang.Enum<ValueType>
org.opensearch.client.opensearch._types.aggregations.ValueType
All Implemented Interfaces:
Serializable, Comparable<ValueType>, Constable, JsonEnum, JsonpSerializable

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum ValueType extends Enum<ValueType> implements JsonEnum
The data type for a field. The server's lenientParse accepts multiple representations for the same underlying type (for example, byte/short/integer/long all map to long).
  • Enum Constant Details

    • Boolean

      public static final ValueType Boolean
    • Byte

      public static final ValueType Byte
    • Date

      public static final ValueType Date
    • DateNanos

      public static final ValueType DateNanos
    • Double

      public static final ValueType Double
    • Float

      public static final ValueType Float
    • GeoPoint

      public static final ValueType GeoPoint
    • Integer

      public static final ValueType Integer
    • Ip

      public static final ValueType Ip
    • Long

      public static final ValueType Long
    • Number

      public static final ValueType Number
    • Numeric

      public static final ValueType Numeric
    • Range

      public static final ValueType Range
    • Short

      public static final ValueType Short
    • String

      public static final ValueType String
    • UnsignedLong

      public static final ValueType UnsignedLong
  • Field Details

  • Method Details

    • values

      public static ValueType[] 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 ValueType 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
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum