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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java