Bitmask operators exist?

2011-08-19 Thread Benjamin Padgett
Have a column family with a few secondary indexes and I am trying to find records where multiple flags are set using a bitmask. I do not see documentation on bitmask operators so I am unsure if they exist. I am new to Cassandra and am trying to avoid making multiple indexed slices. Does anyon

Re: Bitmask operators exist?

2011-08-19 Thread Jonathan Ellis
On Fri, Aug 19, 2011 at 10:08 AM, Benjamin Padgett wrote: > Have a column family with a few secondary indexes and I am trying to find > records where multiple flags are set using a bitmask.  I do not see > documentation on bitmask operators so I am unsure if they exist. They do not, sorry. --

RE: Bitmask operators exist?

2011-08-19 Thread Benjamin Padgett
What would you suggest for handling such a situation? I come from RDMS world... Is it typical for a Cassandra implementation to make multiple slices to get the desired data? Thanks for the quick response! Benjamin Padgett benjamin.padg...@cision.c

Re: Bitmask operators exist?

2011-08-19 Thread Jason Kolb
Have you considered creating a composite key for the various permutations of values that you need to query? For example "good.ok" could contain a column for each entity with the value specifying whether the entity is "good" or "ok". You could the. Have another composite key for "good.bad", "bad.

Reminder: 1.0 feature freeze Sept 8

2011-08-19 Thread Jonathan Ellis
Hi all, The 1.0 feature freeze is coming up on Sept 8, to be followed shortly by a beta release. To make it easier to plan what we can finish before then, I'm going to go through the 68 open Jira tickets and take my best guesses. Tickets that haven't been showing signs of life will be moved to 1

RE: Bitmask operators exist?

2011-08-19 Thread Benjamin Padgett
Jason, Thank you for the good advice...I will put it to good use! Benjamin Padgett benjamin.padg...@cision.com -Original Message- From: Jason Kolb [mailto:jason.k...@gmail.com] Sent: Friday, August 19, 2011 1:35 PM To: dev@cassandra.apache.o