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

Switch to Threaded View
HBase >> mail # user >> Multi-CheckAnd...

Copy link to this message
Re: Multi-CheckAnd...
In the API you described, what is the meaning for first parameter, row ?
Are the puts allowed to write into rows with row keys other than that
specified by row ?

I am asking because potentially the rowkey range implied by puts may span
beyond one region.
If that is the case, HBase doesn't support atomicity (across regions).


On Sat, Apr 27, 2013 at 11:09 PM, Em <[EMAIL PROTECTED]> wrote:

> Hello list,
> I was wondering how to create a multi-row-mutation with
> precondition-constraints.
> Something like this:
> public boolean[] multiCheckAndPut(byte[]row, byte[] family, byte[]
> column, List<Put> puts);
> This looks a little bit ugly but illustrates the idea.
> Are there any alternatives that would fit the use-case?
> Kind regards,
> Em