SpatialSpec Class

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

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<SpatialType> getSpatialTypes()

Gets the container of spatial types.

SpatialSpec setPath(String path)

Sets path.

SpatialSpec 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 getSpatialTypes()

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 spatialTypes)

Sets the container of spatial types.

Parameters:

spatialTypes - the container of spatial types.

Returns:

the SpatialSpec.

Applies to