Azure / Azure/azure-documentdb-java

Cross partition pagination support

Abierto
#120 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
51
Forks
52
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 ?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.