Class SearchFieldDataType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SearchFieldDataType>
com.azure.search.documents.indexes.models.SearchFieldDataType

public final class SearchFieldDataType extends com.azure.core.util.ExpandableStringEnum<SearchFieldDataType>
Defines values for SearchFieldDataType.
  • Field Details

    • STRING

      public static final SearchFieldDataType STRING
      Static value Edm.String for SearchFieldDataType.
    • INT32

      public static final SearchFieldDataType INT32
      Static value Edm.Int32 for SearchFieldDataType.
    • INT64

      public static final SearchFieldDataType INT64
      Static value Edm.Int64 for SearchFieldDataType.
    • DOUBLE

      public static final SearchFieldDataType DOUBLE
      Static value Edm.Double for SearchFieldDataType.
    • BOOLEAN

      public static final SearchFieldDataType BOOLEAN
      Static value Edm.Boolean for SearchFieldDataType.
    • DATE_TIME_OFFSET

      public static final SearchFieldDataType DATE_TIME_OFFSET
      Static value Edm.DateTimeOffset for SearchFieldDataType.
    • GEOGRAPHY_POINT

      public static final SearchFieldDataType GEOGRAPHY_POINT
      Static value Edm.GeographyPoint for SearchFieldDataType.
    • COMPLEX

      public static final SearchFieldDataType COMPLEX
      Static value Edm.ComplexType for SearchFieldDataType.
  • Constructor Details

    • SearchFieldDataType

      public SearchFieldDataType()
  • Method Details

    • fromString

      public static SearchFieldDataType fromString(String name)
      Creates or finds a SearchFieldDataType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SearchFieldDataType.
    • values

      public static Collection<SearchFieldDataType> values()
      Gets known SearchFieldDataType values.
      Returns:
      known SearchFieldDataType values.
    • collection

      public static SearchFieldDataType collection(SearchFieldDataType dataType)
      Returns a collection of a specific SearchFieldDataType
      Parameters:
      dataType - the corresponding SearchFieldDataType
      Returns:
      a Collection of the corresponding SearchFieldDataType