你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExcludedPath Class
- java.
lang. Object - com.
microsoft. azure. documentdb. JsonSerializable - com.
microsoft. azure. documentdb. ExcludedPath
- com.
- com.
public class ExcludedPath
extends JsonSerializable
Represents an excluded path of the IndexingPolicy in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
ExcludedPath() |
Constructor. |
ExcludedPath(String jsonString) |
Constructor. |
ExcludedPath(JSONObject jsonObject) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Gets path. |
void |
setPath(String path)
Sets path. |
Methods inherited from JsonSerializable
<T>getCollection
<T>getObject
<T>set
<T>toObject
get
getBoolean
getCollection
getDouble
getHashMap
getInt
getLogger
getLong
getMapper
getObject
getObjectByPath
getString
has
remove
toJson
toJson
toString
toString
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
ExcludedPath
public ExcludedPath()
Constructor.
ExcludedPath
public ExcludedPath(String jsonString)
Constructor.
Parameters:
jsonString
- the json string that represents the excluded path.
ExcludedPath
public ExcludedPath(JSONObject jsonObject)
Constructor.
Parameters:
jsonObject
- the json object that represents the excluded path.
Method Details
getPath
public String getPath()
Gets path.
Returns:
the path.
setPath
public void setPath(String path)
Sets path.
Parameters:
path
- the path.