Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Order By with Continuation Tokens #92

Closed christopheranderson closed 5 years ago

christopheranderson commented 5 years ago

2.4.3 added Continuation Token support for Cross Partition Queries for everything but Order By.

This is in progress and we'll close this issue once we've added this last bit of support.

spreddy2714 commented 5 years ago

continuation token usage for pagination is fine for sequential reads. However, If I want to read 7th page(size-10) of 100 records, I wouldn't be forced to read prior 6 pages just to hold onto the token. Is there any alternate way, where I can pick intermediate batch of records, without reading prior ones?

christopheranderson commented 5 years ago

This will be released with 2.5.0 (should be up this weekend).