Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


+
Joe Stein 2013-05-29, 19:12
+
Christopher 2013-05-29, 19:17
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.

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 2013-05-30, 16:44
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB