Uses of Class
com.azure.cosmos.models.CosmosQueryRequestOptions
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosQueryRequestOptions in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosAsyncDatabase.queryClientEncryptionKeys
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for cosmos client encryption keys in a database.CosmosAsyncDatabase.queryClientEncryptionKeys
(String query, CosmosQueryRequestOptions options) Query for cosmos client encryption keys in a database.CosmosAsyncContainer.queryConflicts
(String query, CosmosQueryRequestOptions options) Queries all the conflicts in the current container.CosmosAsyncDatabase.queryContainers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for cosmos containers in a cosmos database.CosmosAsyncDatabase.queryContainers
(String query, CosmosQueryRequestOptions options) Query for cosmos containers in a cosmos database.CosmosDatabase.queryContainers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query containers in the current database.CosmosDatabase.queryContainers
(String query, CosmosQueryRequestOptions options) Query containers iterator.CosmosAsyncClient.queryDatabases
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for databases.CosmosAsyncClient.queryDatabases
(String query, CosmosQueryRequestOptions options) Query for databases.CosmosClient.queryDatabases
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query a Cosmos database.CosmosClient.queryDatabases
(String query, CosmosQueryRequestOptions options) Query a Cosmos database.<T> CosmosPagedFlux<T>
CosmosAsyncContainer.queryItems
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options, Class<T> classType) Query for items in the current container using aSqlQuerySpec
andCosmosQueryRequestOptions
.<T> CosmosPagedFlux<T>
CosmosAsyncContainer.queryItems
(String query, CosmosQueryRequestOptions options, Class<T> classType) Query for items in the current container using a string.<T> CosmosPagedIterable<T>
CosmosContainer.queryItems
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options, Class<T> classType) Query items in the current container returning the results asCosmosPagedIterable
.<T> CosmosPagedIterable<T>
CosmosContainer.queryItems
(String query, CosmosQueryRequestOptions options, Class<T> classType) Query items in the current container returning the results asCosmosPagedIterable
.CosmosAsyncUser.queryPermissions
(String query, CosmosQueryRequestOptions options) Query for permissions.CosmosAsyncScripts.queryStoredProcedures
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for stored procedures in a container.CosmosAsyncScripts.queryStoredProcedures
(String query, CosmosQueryRequestOptions options) Query for stored procedures in a container.CosmosScripts.queryStoredProcedures
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query stored proceduresCosmosPagedIterable
.CosmosScripts.queryStoredProcedures
(String query, CosmosQueryRequestOptions options) Query stored proceduresCosmosPagedIterable
.CosmosAsyncScripts.queryTriggers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for triggers in the containerCosmosAsyncScripts.queryTriggers
(String query, CosmosQueryRequestOptions options) Query for triggers in the containerCosmosScripts.queryTriggers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query triggersCosmosPagedIterable
.CosmosScripts.queryTriggers
(String query, CosmosQueryRequestOptions options) Query triggersCosmosPagedIterable
.CosmosAsyncScripts.queryUserDefinedFunctions
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for user defined functions in the container.CosmosAsyncScripts.queryUserDefinedFunctions
(String query, CosmosQueryRequestOptions options) Query for user defined functions in the container.CosmosScripts.queryUserDefinedFunctions
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query user defined functionsCosmosPagedIterable
.CosmosScripts.queryUserDefinedFunctions
(String query, CosmosQueryRequestOptions options) Query user defined functionsCosmosPagedIterable
.CosmosAsyncDatabase.queryUsers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for cosmos users in a database.CosmosAsyncDatabase.queryUsers
(String query, CosmosQueryRequestOptions options) Query for cosmos users in a database.CosmosDatabase.queryUsers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query all Cosmos users for the current database.CosmosDatabase.queryUsers
(String query, CosmosQueryRequestOptions options) Query all Cosmos users for the current database.CosmosAsyncDatabase.readAllClientEncryptionKeys
(CosmosQueryRequestOptions options) Reads all cosmos client encryption keys in a database.CosmosAsyncContainer.readAllConflicts
(CosmosQueryRequestOptions options) Lists all the conflicts in the current container.CosmosAsyncDatabase.readAllContainers
(CosmosQueryRequestOptions options) Reads all cosmos containers.<T> CosmosPagedFlux<T>
CosmosAsyncContainer.readAllItems
(PartitionKey partitionKey, CosmosQueryRequestOptions options, Class<T> classType) Reads all the items of a logical partition<T> CosmosPagedIterable<T>
CosmosContainer.readAllItems
(PartitionKey partitionKey, CosmosQueryRequestOptions options, Class<T> classType) Reads all the items of a logical partition returning the results asCosmosPagedIterable
. -
Uses of CosmosQueryRequestOptions in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosQueryRequestOptions.setConsistencyLevel
(ConsistencyLevel consistencyLevel) Sets the consistency level required for the request.CosmosQueryRequestOptions.setCosmosEndToEndOperationLatencyPolicyConfig
(CosmosEndToEndOperationLatencyPolicyConfig cosmosEndToEndOperationLatencyPolicyConfig) Sets theCosmosEndToEndOperationLatencyPolicyConfig
to be used for the request.CosmosQueryRequestOptions.setDedicatedGatewayRequestOptions
(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions) Sets the Dedicated Gateway Request OptionsCosmosQueryRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosQueryRequestOptions.setExcludedRegions
(List<String> excludeRegions) List of regions to be excluded for the request/retries.CosmosQueryRequestOptions.setFeedRange
(FeedRange feedRange) Sets theFeedRange
that we want to queryCosmosQueryRequestOptions.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.setMaxBufferedItemCount
(int maxBufferedItemCount) Sets the maximum number of items that can be buffered client side during parallel query execution.CosmosQueryRequestOptions.setMaxDegreeOfParallelism
(int maxDegreeOfParallelism) Sets the number of concurrent operations run client side during parallel query execution.CosmosQueryRequestOptions.setPartitionKey
(PartitionKey partitionkey) Sets the partition key used to identify the current request's target partition.CosmosQueryRequestOptions.setQueryMetricsEnabled
(boolean queryMetricsEnabled) Sets the option to enable/disable getting metrics relating to query execution on item query requests.CosmosQueryRequestOptions.setQueryName
(String queryName) Sets the logical query name - this identifier is only used for metrics and logs to distinguish different queries in telemetry.CosmosQueryRequestOptions.setResponseContinuationTokenLimitInKb
(int limitInKb) Sets the ResponseContinuationTokenLimitInKb request option for item query requests in the Azure Cosmos DB service.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.setSessionToken
(String sessionToken) Sets the session token for use with session consistency.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.setThroughputControlGroupName
(String throughputControlGroupName) Set the throughput control group name.