Re: Astyanax empty column check

2012-10-19 Thread Xu Renjie
Renjie > mailto:xrjxrjxrj...@gmail.com > >> > Reply-To: > "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" > mailto:user@cassandra.apache.org > >> > Date: Wednesday, October 17, 2012 4:48 AM > To: > "user@cassandra.apache

Re: Astyanax empty column check

2012-10-18 Thread aaron morton
cassandra.apache.org<mailto:user@cassandra.apache.org>" > mailto:user@cassandra.apache.org>> > Subject: Re: Astyanax empty column check > > So what you mean is essentially there is *no* way to differentiate it because > what they "appear" is the same? >

Re: Astyanax empty column check

2012-10-17 Thread Hiller, Dean
dra.apache.org>" mailto:user@cassandra.apache.org>> Date: Wednesday, October 17, 2012 4:48 AM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Astyanax empty column check So what you mean is essenti

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
So what you mean is essentially there is *no* way to differentiate it because what they "appear" is the same? On Wed, Oct 17, 2012 at 5:58 PM, rohit bhatia wrote: > See > "If you attempt to retrieve an entire row and it returns a result with > no columns, it effectively means that row does not e

Re: Astyanax empty column check

2012-10-17 Thread rohit bhatia
See "If you attempt to retrieve an entire row and it returns a result with no columns, it effectively means that row does not exist." Essentially a row without columns doesn't exist.. (except those with tombstones) from here http://stackoverflow.com/questions/8072253/is-there-a-difference-between-

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
Sorry for the version, I am using 1.0.1 Astyanax. On Wed, Oct 17, 2012 at 4:44 PM, Xu Renjie wrote: > 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 >

Astyanax empty column check

2012-10-17 Thread Xu Renjie
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 sit