Class SpatialSpec

java.lang.Object
com.azure.cosmos.models.SpatialSpec

public final class SpatialSpec extends Object
The type Spatial spec.
  • Constructor Details

    • SpatialSpec

      public SpatialSpec()
      Constructor.
  • Method Details

    • getPath

      public String getPath()
      Gets path.
      Returns:
      the path.
    • setPath

      public SpatialSpec setPath(String path)
      Sets path.
      Parameters:
      path - the path.
      Returns:
      the SpatialSpec.
    • getSpatialTypes

      public List<SpatialType> getSpatialTypes()
      Gets the container of spatial types.
      Returns:
      the container of spatial types.
    • setSpatialTypes

      public SpatialSpec setSpatialTypes(List<SpatialType> spatialTypes)
      Sets the container of spatial types.
      Parameters:
      spatialTypes - the container of spatial types.
      Returns:
      the SpatialSpec.