SpatialSpec Class
- java.
lang. Object - com.
azure. cosmos. models. SpatialSpec
- com.
public final class SpatialSpec
The type Spatial spec.
Constructor | Description |
---|---|
Spatial |
Constructor. |
Modifier and Type | Method and Description |
---|---|
String |
get Gets path. |
List<Spatial |
get Gets the container of spatial types. |
Spatial |
set Sets path. |
Spatial |
set Sets the container of spatial types. |
Methods inherited from java.lang.Object
SpatialSpec
public SpatialSpec()
Constructor.
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.