Assume a Cassandra datastore with 20 rows, with row keys named "r1" .. "r20".
Questions:
-
How do I fetch the row keys of the first ten rows (
r1tor10)? -
How do I fetch the row keys of the next ten rows (
r11tor20)?
I’m looking for the Cassandra analogy to:
SELECT row_key FROM table LIMIT 0, 10;
SELECT row_key FROM table LIMIT 10, 10;
Take a look at:
Where your KeyRange tuple is (start_key, end_key) == (r1, r10)