incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Thrift CAS usage
Date Fri, 14 Feb 2014 07:32:40 GMT
On Thu, Feb 13, 2014 at 12:11 AM, mahesh rajamani <rajamani.mahesh@gmail.com
> wrote:

> Hi,
>
> I am using CAS feature through thrift cas api.
>
> I am able to set the expected column with some value and use cas through
> thrift api. But I am sure what I should set for expected column list to
> achieve IF NOT EXIST condition for a column.
>

You can't, not for a column. What you can do is passed an empty list for
'expected' to test if the row (thrift row) doesn't exist.

--
Sylvain


>
> Can someone help me on this?
>
> --
> Regards,
> Mahesh Rajamani
>

Mime
View raw message