SpatialSpec Class
- java.
lang. Object - JsonSerializable
- com.
microsoft. azure. cosmosdb. SpatialSpec
- com.
public class SpatialSpec extends JsonSerializable
Constructor Summary
Constructor | Description |
---|---|
SpatialSpec() |
Constructor. |
SpatialSpec(String jsonString) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Gets path. |
Collection<Spatial |
getSpatialTypes()
Gets the collection of spatial types. |
void |
setPath(String path)
Sets path. |
void |
setSpatialTypes(Collection<SpatialType> spatialTypes)
Sets the collection of spatial types. |
Inherited Members
Constructor Details
SpatialSpec
public SpatialSpec()
Constructor.
SpatialSpec
public SpatialSpec(String jsonString)
Constructor.
Parameters:
Method Details
getPath
public String getPath()
Gets path.
Returns:
getSpatialTypes
public Collection
Gets the collection of spatial types.
Returns:
setPath
public void setPath(String path)
Sets path.
Parameters:
setSpatialTypes
public void setSpatialTypes(Collection
Sets the collection of spatial types.
Parameters: