你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QueryRequestOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Cosmos 查询请求选项
public class QueryRequestOptions : Azure.Cosmos.RequestOptions
type QueryRequestOptions = class
inherit RequestOptions
Public Class QueryRequestOptions
Inherits RequestOptions
- 继承
构造函数
QueryRequestOptions() |
Cosmos 查询请求选项 |
属性
ConsistencyLevel |
获取或设置 Azure Cosmos DB 服务中请求所需的一致性级别。 |
EnableLowPrecisionOrderBy |
获取或设置在 Azure Cosmos DB 服务中启用低精度顺序的选项。 |
EnableScanInQuery |
获取或设置在 Azure Cosmos DB 服务中请求的路径上无法作为索引的查询启用扫描的选项。 |
IfMatch |
(可选)将请求限制为具有匹配 ETag 的资源。 (继承自 MatchConditions) |
IfNoneMatch |
(可选)将请求限制为与 ETag 不匹配的资源。 (继承自 MatchConditions) |
MaxBufferedItemCount |
获取或设置在 Azure Cosmos DB 服务中并行执行查询期间客户端可以缓冲的最大项数。 正属性值将缓冲项的数目限制为设置值。 如果将其设置为小于 0,系统将自动决定要缓冲的项数。 |
MaxConcurrency |
获取或设置在 Azure Cosmos DB 服务中并行执行查询期间运行客户端的并发操作数。 属性值为正会将并发操作数限制为所设置的值。 如果它设置为小于 0,则系统会自动决定要运行的并发操作数。 |
MaxItemCount |
获取或设置 Azure Cosmos DB 服务中的枚举操作中要返回的最大项数。 |
PartitionKey |
获取或设置 PartitionKey Azure Cosmos DB 服务中当前请求的 。 |
ResponseContinuationTokenLimitInKb |
获取或设置 ResponseContinuationTokenLimitInKb Azure Cosmos DB 服务中文档查询请求的请求选项。 |