Compartir a través de


IncludedPath Class

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

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()
IncludedPath 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.

Applies to