You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Michael Dagaev <mi...@gmail.com> on 2008/11/04 15:31:38 UTC
Question on BatchUpdate
Hi, all
As I understand, the BatchUpdate updates a only single row. What
if I want to update a few rows ? I can create a few BatchUpdate
instances and commit all of them, of course. Is there a better way to
update a number of rows together ?
Thank you for your cooperation,
M.
Re: Question on BatchUpdate
Posted by Jean-Daniel Cryans <jd...@apache.org>.
Michael,
Use:
http://hadoop.apache.org/hbase/docs/r0.18.1/api/org/apache/hadoop/hbase/client/HTable.html#commit(java.util.List)
J-D
On Tue, Nov 4, 2008 at 9:31 AM, Michael Dagaev <mi...@gmail.com>wrote:
> Hi, all
>
> As I understand, the BatchUpdate updates a only single row. What
> if I want to update a few rows ? I can create a few BatchUpdate
> instances and commit all of them, of course. Is there a better way to
> update a number of rows together ?
>
> Thank you for your cooperation,
> M.
>