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

but
from this I couldn't figure out how do I achieve read and update in same
statement.

-Priyanka


Re: Lightweight transaction for read and update

2016-04-05 Thread Sylvain Lebresne
No, this is currently not possible. This is something that is
likely technically feasible with the LWT mechanism but it
is not currently supported (and, for info, is not on anyone
short 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 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
> <
> http://docs.datastax.com/en/cassandra/2.0/cassandra/dml/dml_ltwt_transaction_c.html
> >
> but
> from this I couldn't figure out how do I achieve read and update in same
> statement.
>
> -Priyanka
>


Re: Lightweight transaction for read and update

2016-04-05 Thread Priyanka Gugale
Okay thanks for revert.

-Priyanka

On Tue, Apr 5, 2016 at 2:50 PM, Sylvain Lebresne 
wrote:

> No, this is currently not possible. This is something that is
> likely technically feasible with the LWT mechanism but it
> is not currently supported (and, for info, is not on anyone
> short 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 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
> > <
> >
> http://docs.datastax.com/en/cassandra/2.0/cassandra/dml/dml_ltwt_transaction_c.html
> > >
> > but
> > from this I couldn't figure out how do I achieve read and update in same
> > statement.
> >
> > -Priyanka
> >
>


Contributor

2016-04-05 Thread Megan Smith
Hi there,

I work for Instaclustr, and on your third party support page our company logo 
does not appear correctly. I am just wondering if i could please be added as a 
contributor to edit the page so i can then fix this issue?

Thank you!

Megan Smith

Digital Marketing Coordinator

www.instaclustr.com | +61448433390






Re: Contributor

2016-04-05 Thread Jonathan Ellis
Happy to add you, we just need your wiki username.

On Thu, Mar 31, 2016 at 5:02 PM, Megan Smith  wrote:

> Hi there,
>
> I work for Instaclustr, and on your third party support page our company
> logo does not appear correctly. I am just wondering if i could please be
> added as a contributor to edit the page so i can then fix this issue?
>
> Thank you!
>
> *Megan Smith*
>
> Digital Marketing Coordinator
>
> www.instaclustr.com | +61448433390
>
>
>
>
>


-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder, http://www.datastax.com
@spyced