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:
getSpatialTypes
public List<SpatialType> getSpatialTypes()
Gets the container of spatial types.
Returns:
setPath
public SpatialSpec setPath(String path)
Sets path.
Parameters:
Returns:
setSpatialTypes
public SpatialSpec setSpatialTypes(List<SpatialType> spatialTypes)
Sets the container of spatial types.
Parameters:
Returns: