Keys don't exist without columns in Cassandra. So the right answer is, use get or get_slice to check for the column(s) that should be in the key's row.
On Fri, Mar 26, 2010 at 7:56 PM, Jeff Zhang <zjf...@gmail.com> wrote: > Hi all, > > I'd like to check whether one key exist, currently my solution is to let the > cassandra use the OrderPreservingPartitioner, and facilitate the > get_key_range() API to check key's existence. I wonder whether there's other > ways to do this ? Thanks. > > > > -- > Best Regards > > Jeff Zhang >