你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IncludedPath 类
- java.
lang. Object - JsonSerializable
- com.
microsoft. azure. cosmosdb. IncludedPath
- com.
public class IncludedPath extends JsonSerializable
表示 Azure Cosmos DB 数据库服务中 IndexingPolicy 的包含路径。
构造函数摘要
构造函数 | 说明 |
---|---|
IncludedPath() |
构造函数。 |
IncludedPath(String jsonString) |
构造函数。 |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Collection<Index> |
getIndexes()
获取用户选择要编制索引的路径。 |
String |
getPath()
获取路径。 |
void | setIndexes(Collection<Index> indexes) |
void |
setPath(String path)
设置路径。 |
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(List<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.remove(String propertyName)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
构造函数详细信息
IncludedPath
public IncludedPath()
构造函数。
IncludedPath
public IncludedPath(String jsonString)
构造函数。
参数:
jsonString
- 表示包含的路径的 json 字符串。
方法详细信息
getIndexes
public Collection
获取用户选择要编制索引的路径。
返回:
包含的路径。
getPath
public String getPath()
获取路径。
返回:
路径。
setIndexes
public void setIndexes(Collection
参数:
indexes
setPath
public void setPath(String path)
设置路径。
参数:
path
- 路径。