Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setDedicatedGatewayRequestOptions(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions)
Sets the Dedicated Gateway Request Options
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setFeedRange(FeedRange feedRange)
Sets the
FeedRange that we want to query |
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setIndexMetricsEnabled(boolean indexMetricsEnabled)
Sets indexMetricsEnabled, which is used to obtain the index metrics to understand how the query engine used existing
indexes and could use potential new indexes.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setMaxBufferedItemCount(int maxBufferedItemCount)
Sets the maximum number of items that can be buffered client side during
parallel query execution.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setMaxDegreeOfParallelism(int maxDegreeOfParallelism)
Sets the number of concurrent operations run client side during parallel
query execution.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setPartitionKey(PartitionKey partitionkey)
Sets the partition key used to identify the current request's target
partition.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setQueryMetricsEnabled(boolean queryMetricsEnabled)
Sets the option to enable/disable getting metrics relating to query execution on item query requests.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setResponseContinuationTokenLimitInKb(int limitInKb)
Sets the ResponseContinuationTokenLimitInKb request option for item query
requests in the Azure Cosmos DB service.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setScanInQueryEnabled(Boolean scanInQueryEnabled)
Sets the option to allow scan on the queries which couldn't be served as
indexing was opted out on the requested paths.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setSessionToken(String sessionToken)
Sets the session token for use with session consistency.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setThresholdForDiagnosticsOnTracer(Duration thresholdForDiagnosticsOnTracer)
Sets the thresholdForDiagnosticsOnTracer, if latency on query operation is greater than this
diagnostics will be send to open telemetry exporter as events in tracer span of end to end CRUD api.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setThroughputControlGroupName(String throughputControlGroupName)
Set the throughput control group name.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.