spring-projects / spring-data-cassandra

Provides support to increase developer productivity in Java when using Apache Cassandra. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-cassandra/
Apache License 2.0
374 stars 307 forks source link

Introduce support to represent PagingState as `ScrollPosition` #1408

Closed mp911de closed 1 year ago

mp911de commented 1 year ago

Cassandra's pagination is a continuation of a previous position/iteration and not pagination in the sense of random page access. While we provide CassandraPageRequest to emulate paging via slices, it would make sense to allow Window queries from the repository accepting Limit and ScrollPosition to refine scrolling.