Package com.azure.cosmos.models
Class CosmosPatchItemRequestOptions
java.lang.Object
com.azure.cosmos.models.CosmosItemRequestOptions
com.azure.cosmos.models.CosmosPatchItemRequestOptions
Encapsulates options for
CosmosPatchOperations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the FilterPredicate associated with the request in the Azure Cosmos DB service.setFilterPredicate
(String filterPredicate) Sets the FilterPredicate associated with the request in the Azure Cosmos DB service.Methods inherited from class com.azure.cosmos.models.CosmosItemRequestOptions
getConsistencyLevel, getCustomItemSerializer, getDedicatedGatewayRequestOptions, getDiagnosticsThresholds, getExcludedRegions, getIfMatchETag, getIfNoneMatchETag, getIndexingDirective, getKeywordIdentifiers, getPostTriggerInclude, getPreTriggerInclude, getSessionToken, getThresholdForDiagnosticsOnTracer, getThroughputControlGroupName, isContentResponseOnWriteEnabled, setConsistencyLevel, setContentResponseOnWriteEnabled, setCosmosEndToEndOperationLatencyPolicyConfig, setCustomItemSerializer, setDedicatedGatewayRequestOptions, setDiagnosticsThresholds, setExcludedRegions, setIfMatchETag, setIfNoneMatchETag, setIndexingDirective, setKeywordIdentifiers, setNonIdempotentWriteRetryPolicy, setPostTriggerInclude, setPreTriggerInclude, setSessionToken, setThresholdForDiagnosticsOnTracer, setThroughputControlGroupName
-
Constructor Details
-
CosmosPatchItemRequestOptions
public CosmosPatchItemRequestOptions()Constructor
-
-
Method Details
-
getFilterPredicate
Gets the FilterPredicate associated with the request in the Azure Cosmos DB service.- Returns:
- the FilterPredicate associated with the request.
-
setFilterPredicate
Sets the FilterPredicate associated with the request in the Azure Cosmos DB service. for example:setFilterPredicate("from c where c.taskNum = 3")
.- Parameters:
filterPredicate
- the filterPredicate associated with the request.- Returns:
- the current request options
-