你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExcludedPath Class

  • java.lang.Object
    • com.azure.cosmos.models.ExcludedPath

public final class ExcludedPath

Represents an excluded path of the IndexingPolicy in the Azure Cosmos DB database service.

Constructor Summary

Constructor Description
ExcludedPath(String path)

Constructor.

Method Summary

Modifier and Type Method and Description
boolean equals(Object o)
String getPath()

Gets path.

int hashCode()
ExcludedPath setPath(String path)

Sets path.

Methods inherited from java.lang.Object

Constructor Details

ExcludedPath

public ExcludedPath(String path)

Constructor.

Parameters:

path - the excluded path.

Method Details

equals

public boolean equals(Object o)

Overrides:

ExcludedPath.equals(Object o)

Parameters:

o

getPath

public String getPath()

Gets path.

Returns:

the path.

hashCode

public int hashCode()

Overrides:

ExcludedPath.hashCode()

setPath

public ExcludedPath setPath(String path)

Sets path.

Parameters:

path - the path.

Returns:

the excluded path.

Applies to