HashIndex 类
定义
Represents a hash index in the Azure Cosmos DB database service.
public class HashIndex 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)
构造函数
HashIndex(DataType dataType) |
Specifies an instance of HashIndex class with specified DataType. Here is an example to instantiate HashIndex class passing in the DataType:
|
HashIndex(DataType dataType, int precision) |
Initializes a new instance of the HashIndex class with specified DataType and precision. Here is an example to instantiate HashIndex class passing in the DataType:
|
HashIndex(JSONObject jsonObject) |
Initializes a new instance of the HashIndex class with json object.
|
HashIndex(String jsonString) |
Initializes a new instance of the HashIndex class with json string.
|
方法
getDataType() |
Gets data type.
|
getPrecision() |
Gets precision.
|
setDataType(DataType dataType) |
Sets data type.
|
setPrecision(int precision) |
Sets precision.
|