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
FieldsModifier and TypeFieldDescriptionstatic final SearchFieldDataType
Static value Edm.Boolean for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.ComplexType for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.DateTimeOffset for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.Double for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.GeographyPoint for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.Int32 for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.Int64 for SearchFieldDataType.static final SearchFieldDataType
Static value Edm.String for SearchFieldDataType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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()
Gets known SearchFieldDataType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
STRING
Static value Edm.String for SearchFieldDataType. -
INT32
Static value Edm.Int32 for SearchFieldDataType. -
INT64
Static value Edm.Int64 for SearchFieldDataType. -
DOUBLE
Static value Edm.Double for SearchFieldDataType. -
BOOLEAN
Static value Edm.Boolean for SearchFieldDataType. -
DATE_TIME_OFFSET
Static value Edm.DateTimeOffset for SearchFieldDataType. -
GEOGRAPHY_POINT
Static value Edm.GeographyPoint for SearchFieldDataType. -
COMPLEX
Static value Edm.ComplexType for SearchFieldDataType.
-
-
Constructor Details
-
SearchFieldDataType
public SearchFieldDataType()
-
-
Method Details
-
fromString
Creates or finds a SearchFieldDataType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SearchFieldDataType.
-
values
Gets known SearchFieldDataType values.- Returns:
- known SearchFieldDataType values.
-
collection
Returns a collection of a specific SearchFieldDataType- Parameters:
dataType
- the corresponding SearchFieldDataType- Returns:
- a Collection of the corresponding SearchFieldDataType
-