你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IncludedPath Class
- java.
lang. Object - com.
azure. cosmos. models. IncludedPath
- com.
public final class IncludedPath
Represents an included path of the IndexingPolicy in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
IncludedPath(String path) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object o) |
String |
getPath()
Gets path. |
int | hashCode() |
Included |
setPath(String path)
Sets path. |
Methods inherited from java.lang.Object
Constructor Details
IncludedPath
public IncludedPath(String path)
Constructor.
Parameters:
path
- the included path.
Method Details
equals
public boolean equals(Object o)
Overrides:
IncludedPath.equals(Object o)Parameters:
o
getPath
public String getPath()
Gets path.
Returns:
the path.
hashCode
public int hashCode()
Overrides:
IncludedPath.hashCode()setPath
public IncludedPath setPath(String path)
Sets path.
Parameters:
path
- the path.
Returns:
the Included Path.