incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Twigg <andy.tw...@gmail.com>
Subject Re: Is there update-in-place on maps?
Date Tue, 06 Aug 2013 10:05:05 GMT
Counters can be atomically incremented (
http://wiki.apache.org/cassandra/Counters). Pick a UUID for the counter,
and use that: c=map.get(k); c.incr()


On 6 August 2013 11:01, Jan Algermissen <jan.algermissen@nordsc.com> wrote:

>
> On 06.08.2013, at 11:36, Andy Twigg <andy.twigg@gmail.com> wrote:
>
> > Store pointers to counters as map values?
>
> Sorry, but this fits into nothing I know about C* so far - can you explain?
>
> Jan
>
>


-- 
Dr Andy Twigg
Junior Research Fellow, St Johns College, Oxford
Room 351, Department of Computer Science
http://www.cs.ox.ac.uk/people/andy.twigg/
andy.twigg@cs.ox.ac.uk | +447799647538

Mime
View raw message