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 ?
There is not such a thing in Accumulo. To do that, you'd have to have
your client do the check first. You could do something clever like a
put with a timestamp prior to any timestamp that would exist if the
key had already been there, that way it'll be ignored if a newer one
existed (assuming you have max versions set to 1 on the

Christopher L Tubbs II
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 ?
> Thanks!
> /*
> Joe Stein, Chief Architect
> http://www.medialets.com
> Twitter: @allthingshadoop
> Mobile: 917-597-9771
> */