hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-3246) Add API to Increment client class that increments rather than replaces the amount for a column when done multiple times
Date Sat, 19 Jul 2014 00:28:39 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell resolved HBASE-3246.
-----------------------------------

    Resolution: Not a Problem
      Assignee:     (was: Jonathan Gray)

Didn't happen

> Add API to Increment client class that increments rather than replaces the amount for
a column when done multiple times
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3246
>                 URL: https://issues.apache.org/jira/browse/HBASE-3246
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Jonathan Gray
>         Attachments: HBASE-3246-v1.patch
>
>
> In the new Increment class, the API to add columns is {{addColumn()}}.  If you do this
multiple times for an individual column, the amount to increment by is replaced.  I think
this is the right way for this method to work and it is javadoc'd with the behavior.
> We should add a new method, {{incrementColumn()}} which will increment any existing amount
for the specified column rather than replacing it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message