Re: Paging in Cassandra

2018-08-08 Thread Ghazi Naceur
Hello everyone, This is the solution : @Autowired CassandraOperations cassandraOperationsInstance; ... ... Pageable request = CassandraPageRequest.first(1000); Slice slice = null; Query query = Query.empty().pageRequest(request); do { slice = cassandraOperationsInstance.

Re: Paging in Cassandra

2018-07-10 Thread Alain RODRIGUEZ
Hello, It sounds like a client/coding issue. People are working with distinct clients to connect to Cassandra. And it looks like there are not many 'spring-data-cassandra' users around ¯\_(ツ)_/¯. You could try giving a try there see if you have more luck: https://spring.io/questions. C*heers, A

Paging in Cassandra

2018-07-04 Thread Ghazi Naceur
Hello Eveyone, I'm facing a problem with CassandraPageRequest and Slice. 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 = Que