Fetching Cassandra row keys

Posted by knorv on Stack Overflow See other posts from Stack Overflow or by knorv
Published on 2010-03-29T21:04:29Z Indexed on 2010/03/29 21:23 UTC
Read the original article Hit count: 149

Filed under:
|

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 (r1 to r10)?

  • How do I fetch the row keys of the next ten rows (r11 to r20)?

I'm looking for the Cassandra analogy to:

SELECT row_key FROM table LIMIT 0, 10;
SELECT row_key FROM table LIMIT 10, 10;

© Stack Overflow or respective owner

Related posts about cassandra

Related posts about nosql