CosmosPatchItemRequestOptions Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosItemRequestOptions - com.
azure. cosmos. models. CosmosPatchItemRequestOptions
- com.
- com.
public class CosmosPatchItemRequestOptions
extends CosmosItemRequestOptions
Encapsulates options for CosmosPatchOperations
Constructor Summary
| Constructor | Description |
|---|---|
| CosmosPatchItemRequestOptions() |
Constructor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getFilterPredicate()
Gets the Filter |
|
Cosmos |
setFilterPredicate(String filterPredicate)
Sets the Filter |
Methods inherited from CosmosItemRequestOptions
Methods inherited from java.lang.Object
Constructor Details
CosmosPatchItemRequestOptions
public CosmosPatchItemRequestOptions()
Constructor
Method Details
getFilterPredicate
public String getFilterPredicate()
Gets the FilterPredicate associated with the request in the Azure Cosmos DB service.
Returns:
setFilterPredicate
public CosmosPatchItemRequestOptions setFilterPredicate(String filterPredicate)
Sets the FilterPredicate associated with the request in the Azure Cosmos DB service. for example: setFilterPredicate("from c where c.taskNum = 3").
Parameters:
Returns: