accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <crypt...@gmail.com>
Subject Re: putIfAbsent ?
Date Thu, 30 May 2013 16:44:16 GMT
example 3 is really cool too would be a great way to counting uniques
within row keys, like users within a campaign


On Wed, May 29, 2013 at 4:28 PM, Keith Turner <keith@deenlo.com> wrote:

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



-- 

/*
Joe Stein
http://www.linkedin.com/in/charmalloc
Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
*/

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