Azure / Azure/azure-sdk-for-java

[FEATURE REQ]CosmosContainer.queryItems does not allow specifying the page size

Open
#43,945 1 comment 0 reactions 0 assignees View on GitHub
Client Cosmos cosmos-java-ecosystem-br-planning needs-team-attention Service Attention
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**
CosmosContainer.queryItems does not allow specifying the page size. To do so, you have to use CosmosAsnyContainer.queryItems and then call the cotr of CosmosPagedIterable manually.

**Describe the solution you'd like**
Allow CosmosQueryRequestOptions to override page size

**Describe alternatives you've considered**
Allow creating asny or sync container/database form a singleton client

**Additional context**
n/a

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.