hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2946) Increment multiple columns in a row at once
Date Wed, 01 Sep 2010 02:36:53 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904883#action_12904883
] 

Jonathan Gray commented on HBASE-2946:
--------------------------------------

There are two general approaches from an API perspective.

One would be just adding another single HTable call, something like:
{noformat}
long [] incrementColumns(byte [] row, byte [][] families, byte [][] qualifiers, long [] amounts)
{noformat}

The other would be to upgrade our increment friend to his own Increment class.  Then he'd
operate like Gets/Puts:
{noformat}
long [] increment(new Increment(byte [] row).addColumn(family, qualifier1).addColumn(family,
qualifier2))
{noformat}

The latter would be more amenable to HBASE-2947.

> Increment multiple columns in a row at once
> -------------------------------------------
>
>                 Key: HBASE-2946
>                 URL: https://issues.apache.org/jira/browse/HBASE-2946
>             Project: HBase
>          Issue Type: New Feature
>          Components: client, regionserver
>            Reporter: Jonathan Gray
>             Fix For: 0.90.0
>
>
> Currently there is no way to do multiple increments to a single row in one RPC.  This
jira is about adding an HTable and HRegionInterface method to increment multiple columns within
a single row at once.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message