Azure / Azure/azure-documentdb-java

Cross partition pagination support

オープン
#120 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
51
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

説明

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 ?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。