Class SpatialType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SpatialType>
com.azure.resourcemanager.cosmos.models.SpatialType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Indicates the spatial type of index.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpatialTypeStatic value LineString for SpatialType.static final SpatialTypeStatic value MultiPolygon for SpatialType.static final SpatialTypeStatic value Point for SpatialType.static final SpatialTypeStatic value Polygon for SpatialType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpatialTypefromString(String name) Creates or finds a SpatialType from its string representation.static Collection<SpatialType> values()Gets known SpatialType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
POINT
Static value Point for SpatialType. -
LINE_STRING
Static value LineString for SpatialType. -
POLYGON
Static value Polygon for SpatialType. -
MULTI_POLYGON
Static value MultiPolygon for SpatialType.
-
-
Constructor Details
-
SpatialType
Deprecated.Use thefromString(String)factory method.Creates a new instance of SpatialType value.
-
-
Method Details
-
fromString
Creates or finds a SpatialType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SpatialType.
-
values
Gets known SpatialType values.- Returns:
- known SpatialType values.
-
fromString(String)factory method.