Azure / Azure/azure-documentdb-java

Cross partition pagination support

Đang mở
#120 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
51
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I've come across some patterns for getting paginated results from a single partition but is it possible to use the `continuationToken` pattern to paginate a query which spans across partitions ?

Tried paginating using pattern here:
https://guptakumartanuj.wordpress.com/2017/12/13/pagination-support-in-documentdb-using-java-sdk-api/

But the continuationToken returned null as expected, when querying across multiple partitions.

I came across an example where the .NET SDK has been used to achieve pagination, seemingly across multiple partitions, using the `MaxItemCount` setting in the `FeedOptions`, but this doesn't seem to exist in the java sdk: http://www.zoeller.us/blog/2017/7/27/paging-results-with-documentdb

Is there any equivalent to achieve this using the java sdk ?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.