java.lang.Object
java.lang.Enum<ValueType>
co.elastic.clients.elasticsearch._types.aggregations.ValueType
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<ValueType>, Constable

@JsonpDeserializable public enum ValueType extends Enum<ValueType> implements JsonEnum
See Also:
  • Enum Constant Details

    • String

      public static final ValueType String
    • Long

      public static final ValueType Long
    • Double

      public static final ValueType Double
    • Number

      public static final ValueType Number
    • Date

      public static final ValueType Date
    • DateNanos

      public static final ValueType DateNanos
    • Ip

      public static final ValueType Ip
    • Numeric

      public static final ValueType Numeric
    • GeoPoint

      public static final ValueType GeoPoint
    • Boolean

      public static final ValueType Boolean
  • 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