Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • And what if there are hundreds of posts? how do you fetch it? build a very very long CQL with "KEY in ('a', 'b', ...)"? it doesn't seems right! Commented Mar 4, 2012 at 16:23
  • Slowly, I'd imagine. Seriously, using a predicate seems the logical approach. See prettyprint.me/2010/01/20/… for example, specifically "When reading or writing data it’s possible to read/write a set of columns for one specific key (row) atomically. This set of columns may either be a specified by the list column names, or by a slice predicate, assuming the columns are sorted in some way (that’s a configuration parameter)" Commented Mar 4, 2012 at 16:27
  • But they're not sorted at all. You have posts of user A, then posts of user B and then again posts of user A. BTW, I speak Hebrew, so thanks for the pointer... :) Commented Mar 4, 2012 at 16:30
  • That's convenient! I'd draw your attention to this particular phrase in my comment: This set of columns may either be a specified by the list column names. I'd imagine that you'd need to pack up all the column names that you got from the index, and ship them back up to the server to serve as a filter. Commented Mar 4, 2012 at 16:34
  • Thanks for the help. Do you think that maybe I should use a different model? like Super CF, as I wrote in my edit for the post? Commented Mar 4, 2012 at 16:40