SpatialType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. SpatialType
- com.
- com.
public final class SpatialType
extends ExpandableStringEnum<SpatialType>
Indicates the spatial type of index.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Spatial |
LINE_STRING
Static value Line |
static final
Spatial |
MULTI_POLYGON
Static value Multi |
static final
Spatial |
POINT
Static value Point for Spatial |
static final
Spatial |
POLYGON
Static value Polygon for Spatial |
Constructor Summary
Constructor | Description |
---|---|
SpatialType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Spatial |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Spatial |
fromString(String name)
Creates or finds a Spatial |
static
Collection<Spatial |
values()
Gets known Spatial |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LINE_STRING
public static final SpatialType LINE_STRING
Static value LineString for SpatialType.
MULTI_POLYGON
public static final SpatialType MULTI_POLYGON
Static value MultiPolygon for SpatialType.
POINT
public static final SpatialType POINT
Static value Point for SpatialType.
POLYGON
public static final SpatialType POLYGON
Static value Polygon for SpatialType.
Constructor Details
SpatialType
@Deprecated
public SpatialType()
Deprecated
Creates a new instance of SpatialType value.
Method Details
fromString
public static SpatialType fromString(String name)
Creates or finds a SpatialType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SpatialType values.
Returns:
Applies to
Azure SDK for Java