SpatialSpec Class
- java.
lang. Object - com.
microsoft. azure. documentdb. JsonSerializable - com.
microsoft. azure. documentdb. SpatialSpec
- com.
- com.
public class SpatialSpec
extends JsonSerializable
Constructor Summary
Constructor | Description |
---|---|
SpatialSpec() |
Constructor. |
SpatialSpec(String jsonString) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Gets path. |
java.util.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. |
Methods inherited from JsonSerializable
Methods inherited from java.lang.Object
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: