Hello Eveyone,

I'm facing a problem with CassandraPageRequest and Slice<T>.
In fact, I'm always obtaining the same Slice and I'm not able to get the
next slice (or Page) of data.
I'm based on this example :

Link : https://github.com/spring-projects/spring-data-cassandra/pull/114

Query query = 
slice = template.slice(query, User.class);
do {
// consume slice
if (slice.hasNext()) {
slice = template.select(query, slice.nextPageable(), User.class);
} else {break;
} while (!slice.getContent().isEmpty());

I appreciate your help.

Reply via email to