Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> putIfAbsent ?

Copy link to this message
Re: putIfAbsent ?
On Wed, May 29, 2013 at 3:12 PM, Joe Stein <[EMAIL PROTECTED]> wrote:

> Hey, so was looking at Mutation and did not see a putIfAbsent function is
> there such a thing in Accumulo ?

I am looking into adding conditional mutations to Accumulo 1.6. that would
support this.


In the design document I suggested a method called putCondition() and if
the value was null, thats mean that the user expected it to be absent.   I
don't really like that API for specifying expected absence.
> Thanks!
> /*
> Joe Stein, Chief Architect
> http://www.medialets.com
> Twitter: @allthingshadoop
> Mobile: 917-597-9771
> */