SpatialIndex 类
定义
Represents a spatial index in the Azure Cosmos DB database service.
public class SpatialIndex extends Index
- 继承
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
Index.getKind()
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(Collection<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
Index.Hash(DataType dataType)
Index.Hash(DataType dataType, int precision)
Index.Index(IndexKind indexKind)
Index.Index(String jsonString, IndexKind indexKind)
Index.Index(JSONObject jsonObject, IndexKind indexKind)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.JsonSerializable(JSONObject jsonObject)
Index.Range(DataType dataType)
Index.Range(DataType dataType, int precision)
JsonSerializable.remove(String propertyName)
Index.Spatial(DataType dataType)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
JsonSerializable.toString(int indentFactor)
构造函数
SpatialIndex(DataType dataType) |
Initializes a new instance of the SpatialIndex class. Here is an example to instantiate SpatialIndex class passing in the DataType
|
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.
|