java.lang.Object
java.lang.Enum<FieldType>
org.springframework.data.elasticsearch.annotations.FieldType
All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

public enum FieldType extends Enum<FieldType>
Author:
Rizwan Idrees, Mohsin Husen, Artur Konczak, Zeng Zetang, Peter-Josef Meisch, Aleksei Arsenev, Brian Kimmig, Morgan Lutz
  • Enum Constant Details

    • Auto

      public static final FieldType Auto
    • Text

      public static final FieldType Text
    • Keyword

      public static final FieldType Keyword
    • Long

      public static final FieldType Long
    • Integer

      public static final FieldType Integer
    • Short

      public static final FieldType Short
    • Byte

      public static final FieldType Byte
    • Double

      public static final FieldType Double
    • Float

      public static final FieldType Float
    • Half_Float

      public static final FieldType Half_Float
    • Scaled_Float

      public static final FieldType Scaled_Float
    • Date

      public static final FieldType Date
    • Date_Nanos

      public static final FieldType Date_Nanos
    • Boolean

      public static final FieldType Boolean
    • Binary

      public static final FieldType Binary
    • Integer_Range

      public static final FieldType Integer_Range
    • Float_Range

      public static final FieldType Float_Range
    • Long_Range

      public static final FieldType Long_Range
    • Double_Range

      public static final FieldType Double_Range
    • Date_Range

      public static final FieldType Date_Range
    • Ip_Range

      public static final FieldType Ip_Range
    • Object

      public static final FieldType Object
    • Nested

      public static final FieldType Nested
    • Ip

      public static final FieldType Ip
    • TokenCount

      public static final FieldType TokenCount
    • Percolator

      public static final FieldType Percolator
    • Flattened

      public static final FieldType Flattened
    • Search_As_You_Type

      public static final FieldType Search_As_You_Type
    • Rank_Feature

      public static final FieldType Rank_Feature
      Since:
      4.1
    • Rank_Features

      public static final FieldType Rank_Features
      Since:
      4.1
    • Wildcard

      public static final FieldType Wildcard
      since 4.2
    • Dense_Vector

      public static final FieldType Dense_Vector
      Since:
      4.2
    • Constant_Keyword

      public static final FieldType Constant_Keyword
      Since:
      5.2
    • Alias

      public static final FieldType Alias
      Since:
      5.2
    • Version

      public static final FieldType Version
      Since:
      5.2
    • Murmur3

      public static final FieldType Murmur3
      Since:
      5.2
    • Match_Only_Text

      public static final FieldType Match_Only_Text
      Since:
      5.2
    • Annotated_Text

      public static final FieldType Annotated_Text
      Since:
      5.2
  • Method Details

    • values

      public static FieldType[] 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 FieldType 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
    • getMappedName

      public String getMappedName()