Class SpatialType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<SpatialType>
-
- com.azure.resourcemanager.cosmos.models.SpatialType
-
public final class SpatialType extends com.azure.core.util.ExpandableStringEnum<SpatialType>
Defines values for SpatialType.
-
-
Field Summary
Fields Modifier and Type Field Description static SpatialTypeLINE_STRINGStatic value LineString for SpatialType.static SpatialTypeMULTI_POLYGONStatic value MultiPolygon for SpatialType.static SpatialTypePOINTStatic value Point for SpatialType.static SpatialTypePOLYGONStatic value Polygon for SpatialType.
-
Constructor Summary
Constructors Constructor Description SpatialType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpatialTypefromString(String name)Creates or finds a SpatialType from its string representation.static Collection<SpatialType>values()
-
-
-
Field Detail
-
POINT
public static final SpatialType POINT
Static value Point for SpatialType.
-
LINE_STRING
public static final SpatialType LINE_STRING
Static value LineString for SpatialType.
-
POLYGON
public static final SpatialType POLYGON
Static value Polygon for SpatialType.
-
MULTI_POLYGON
public static final SpatialType MULTI_POLYGON
Static value MultiPolygon for SpatialType.
-
-
Method Detail
-
fromString
public static SpatialType fromString(String name)
Creates or finds a SpatialType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SpatialType.
-
values
public static Collection<SpatialType> values()
- Returns:
- known SpatialType values.
-
-