Re: Lightweight transaction for read and update

2016-04-05 Thread Priyanka Gugale
rt term todo list as far as I know). > > Sorry. > > On Tue, Apr 5, 2016 at 10:51 AM, Priyanka Gugale > > wrote: > > > Hi, > > > > Is there a possibility that we can write a cql statement which can *read > a > > column value and update it in same tran

Lightweight transaction for read and update

2016-04-05 Thread Priyanka Gugale
Hi, Is there a possibility that we can write a cql statement which can *read a column value and update it in same transaction* (e.g. column has value 28, I read it add 7 to it and update column value to 35)? There are some examples for lightweight transactions

Re: Missing rows while scanning table using java driver

2016-02-02 Thread Priyanka Gugale
specially), data center and table configuration. > - Any errors in the logs on the Cassandra nodes. > > Regards, > > Ryan Svihla > > > On Feb 2, 2016, at 4:58 AM, Priyanka Gugale wrote: > > > > I am using query of the form: select * from %t where token(%p) > %s li

Re: Missing rows while scanning table using java driver

2016-02-02 Thread Priyanka Gugale
I am using query of the form: select * from %t where token(%p) > %s limit %l; where t=tablename, %p=primary key, %s=token value of primary key and l=limit -Priyanka On Mon, Feb 1, 2016 at 6:19 PM, Priyanka Gugale wrote: > Hi, > > I am using Cassandra 2.2.0 and cassandra driver

Missing rows while scanning table using java driver

2016-02-01 Thread Priyanka Gugale
Hi, I am using Cassandra 2.2.0 and cassandra driver 2.1.8. I am trying to scan a table as per suggestions given here , On running the code to fetch records from table, it fetches different number of r