You can take a look at HConnectionManager#processBatchCallback(), starting
line 1672 (0.94 branch):
// step 1: break up into regionserver-sized chunks and build the
data structs
Action<R> action = new Action<R>(row, i);
Each Action has the original index to the List of Row's.
This would be used when filling results array.
Cheers
On Thu, Sep 26, 2013 at 8:20 AM, Maxime <[email protected]> wrote:
> Hi,
>
> I would like to use the HTable batch function to regroup multiple Increment
> operations. But I am not sure of the format that is returned by this
> function.
>
> Please, could someone tell me if the returned array will keep the order of
> the List of Row provided to the batch function ?
> If the result of the first Row can be accessed in result[0] (and will be
> the
> new value post increment), second Row in result[1] etc.. ?
>
> Thanks,
> Maxime
>
>