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 Summary
Fields Modifier and Type Field Description static SearchFieldDataType
BOOLEAN
Static value Edm.Boolean for SearchFieldDataType.static SearchFieldDataType
COMPLEX
Static value Edm.ComplexType for SearchFieldDataType.static SearchFieldDataType
DATE_TIME_OFFSET
Static value Edm.DateTimeOffset for SearchFieldDataType.static SearchFieldDataType
DOUBLE
Static value Edm.Double for SearchFieldDataType.static SearchFieldDataType
GEOGRAPHY_POINT
Static value Edm.GeographyPoint for SearchFieldDataType.static SearchFieldDataType
INT32
Static value Edm.Int32 for SearchFieldDataType.static SearchFieldDataType
INT64
Static value Edm.Int64 for SearchFieldDataType.static SearchFieldDataType
STRING
Static value Edm.String for SearchFieldDataType.
-
Constructor Summary
Constructors Constructor Description SearchFieldDataType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchFieldDataType
collection(SearchFieldDataType dataType)
Returns a collection of a specific SearchFieldDataTypestatic SearchFieldDataType
fromString(String name)
Creates or finds a SearchFieldDataType from its string representation.static Collection<SearchFieldDataType>
values()
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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()
- 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
-
-