你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SpatialSpec Class
- java.
lang. Object - com.
azure. cosmos. models. SpatialSpec
- com.
public final class SpatialSpec
The type Spatial spec.
Constructor Summary
Constructor | Description |
---|---|
SpatialSpec() |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Gets path. |
List<Spatial |
getSpatialTypes()
Gets the container of spatial types. |
Spatial |
setPath(String path)
Sets path. |
Spatial |
setSpatialTypes(List<SpatialType> spatialTypes)
Sets the container of spatial types. |
Methods inherited from java.lang.Object
Constructor Details
SpatialSpec
public SpatialSpec()
Constructor.
Method Details
getPath
public String getPath()
Gets path.
Returns:
the path.
getSpatialTypes
public List
Gets the container of spatial types.
Returns:
the container of spatial types.
setPath
public SpatialSpec setPath(String path)
Sets path.
Parameters:
path
- the path.
Returns:
the SpatialSpec.
setSpatialTypes
public SpatialSpec setSpatialTypes(List
Sets the container of spatial types.
Parameters:
spatialTypes
- the container of spatial types.
Returns:
the SpatialSpec.