java.lang.Object
java.lang.Enum<FieldType>
co.elastic.clients.elasticsearch._types.mapping.FieldType
All Implemented Interfaces:
JsonEnum, JsonpSerializable, java.io.Serializable, java.lang.Comparable<FieldType>, java.lang.constant.Constable

@JsonpDeserializable
public enum FieldType
extends java.lang.Enum<FieldType>
implements JsonEnum
See Also:
API specification
  • Enum Constant Details

    • None

      public static final FieldType None
    • GeoPoint

      public static final FieldType GeoPoint
    • GeoShape

      public static final FieldType GeoShape
    • Ip

      public static final FieldType Ip
    • Binary

      public static final FieldType Binary
    • Keyword

      public static final FieldType Keyword
    • Text

      public static final FieldType Text
    • SearchAsYouType

      public static final FieldType SearchAsYouType
    • Date

      public static final FieldType Date
    • DateNanos

      public static final FieldType DateNanos
    • Boolean

      public static final FieldType Boolean
    • Completion

      public static final FieldType Completion
    • Nested

      public static final FieldType Nested
    • Object

      public static final FieldType Object
    • Murmur3

      public static final FieldType Murmur3
    • TokenCount

      public static final FieldType TokenCount
    • Percolator

      public static final FieldType Percolator
    • Integer

      public static final FieldType Integer
    • Long

      public static final FieldType Long
    • Short

      public static final FieldType Short
    • Byte

      public static final FieldType Byte
    • Float

      public static final FieldType Float
    • HalfFloat

      public static final FieldType HalfFloat
    • ScaledFloat

      public static final FieldType ScaledFloat
    • Double

      public static final FieldType Double
    • IntegerRange

      public static final FieldType IntegerRange
    • FloatRange

      public static final FieldType FloatRange
    • LongRange

      public static final FieldType LongRange
    • DoubleRange

      public static final FieldType DoubleRange
    • DateRange

      public static final FieldType DateRange
    • IpRange

      public static final FieldType IpRange
    • Alias

      public static final FieldType Alias
    • Join

      public static final FieldType Join
    • RankFeature

      public static final FieldType RankFeature
    • RankFeatures

      public static final FieldType RankFeatures
    • Flattened

      public static final FieldType Flattened
    • Shape

      public static final FieldType Shape
    • Histogram

      public static final FieldType Histogram
    • ConstantKeyword

      public static final FieldType ConstantKeyword
    • AggregateMetricDouble

      public static final FieldType AggregateMetricDouble
    • DenseVector

      public static final FieldType DenseVector
  • Field Details

  • Method Details

    • values

      public static FieldType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FieldType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • jsonValue

      public java.lang.String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum