accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: putIfAbsent ?
Date Wed, 29 May 2013 20:28:19 GMT
On Wed, May 29, 2013 at 3:12 PM, Joe Stein <cryptcom@gmail.com> 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.

https://issues.apache.org/jira/browse/ACCUMULO-1000

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
> */

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message