SpatialIndex 类

定义

Represents a spatial index in the Azure Cosmos DB database service.

public class SpatialIndex extends Index
继承
java.lang.Object
Serializable
SpatialIndex

继承成员

构造函数

SpatialIndex(DataType dataType)

Initializes a new instance of the SpatialIndex class.

Here is an example to instantiate SpatialIndex class passing in the DataType

SpatialIndex spatialIndex = new SpatialIndex(DataType.Point);
</code></pre></p>

SpatialIndex(JSONObject jsonObject)

Initializes a new instance of the SpatialIndex class.

SpatialIndex(String jsonString)

Initializes a new instance of the SpatialIndex class.

方法

getDataType()

Gets data type.

setDataType(DataType dataType)

Sets data type.

适用于