IncludedPath Class
- java.
lang. Object - com.
microsoft. azure. documentdb. JsonSerializable - com.
microsoft. azure. documentdb. IncludedPath
- com.
- com.
public class IncludedPath
extends JsonSerializable
Represents an included path of the IndexingPolicy in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
IncludedPath() |
Constructor. |
IncludedPath(String jsonString) |
Constructor. |
IncludedPath(JSONObject jsonObject) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Index> |
getIndexes()
Gets the paths that are chosen to be indexed by the user. |
java.lang.String |
getPath()
Gets path. |
void | setIndexes(Collection<Index> indexes) |
void |
setPath(String path)
Sets path. |
Methods inherited from JsonSerializable
Methods inherited from java.lang.Object
Constructor Details
IncludedPath
public IncludedPath()
Constructor.
IncludedPath
public IncludedPath(String jsonString)
Constructor.
Parameters:
IncludedPath
public IncludedPath(JSONObject jsonObject)
Constructor.
Parameters:
Method Details
getIndexes
public Collection
Gets the paths that are chosen to be indexed by the user.
Returns:
getPath
public String getPath()
Gets path.
Returns:
setIndexes
public void setIndexes(Collection
Parameters:
setPath
public void setPath(String path)
Sets path.
Parameters:
Applies to
Azure SDK for Java