I want to get incremental data, that is each call to select query should returns new records. For ex. let's say my table has 1 million records and I am using Spring boot application so I don't want to fetch all the records at once. I want the records recursively like in the chunks of 10k records or any number.
Once I get the records let's say 10k, in the next iteration I need other 10k and so on.
How can I do it in Apache Cassandra?