Package com.azure.data.cosmos
Class SpatialSpec
- java.lang.Object
-
- com.azure.data.cosmos.JsonSerializable
-
- com.azure.data.cosmos.SpatialSpec
-
public class SpatialSpec extends JsonSerializable
-
-
Constructor Summary
Constructors Constructor Description SpatialSpec()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
path()
Gets path.SpatialSpec
path(String path)
Sets path.List<SpatialType>
spatialTypes()
Gets the collection of spatial types.SpatialSpec
spatialTypes(List<SpatialType> spatialTypes)
Sets the collection of spatial types.-
Methods inherited from class com.azure.data.cosmos.JsonSerializable
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
-
-
-
-
Method Detail
-
path
public String path()
Gets path.- Returns:
- the path.
-
path
public SpatialSpec path(String path)
Sets path.- Parameters:
path
- the path.- Returns:
- the SpatialSpec.
-
spatialTypes
public List<SpatialType> spatialTypes()
Gets the collection of spatial types.- Returns:
- the collection of spatial types.
-
spatialTypes
public SpatialSpec spatialTypes(List<SpatialType> spatialTypes)
Sets the collection of spatial types.- Parameters:
spatialTypes
- the collection of spatial types.- Returns:
- the SpatialSpec.
-
-