incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xu Renjie <xrjxrjxrj...@gmail.com>
Subject Astyanax empty column check
Date Wed, 17 Oct 2012 08:44:40 GMT
hello guys,
   I am currently using Astyanax as a client(new to Astyanax). But I am not
clear how to differentiate the following 2 situations:
a. A row which has only key without columns
b. No this row in database.

Since when I use RowQuery to query Cassandra with given key, both the above
two situations will return a ColumnList
with size 0. And also I didn't find other api can handle this.
Do you have any better way for this? Thanks in advance.
Cheers,
Xu

Mime
View raw message