You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ryan Smith (JIRA)" <ji...@apache.org> on 2008/09/11 03:20:44 UTC

[jira] Issue Comment Edited: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

osm edited comment on HBASE-882 at 9/10/08 6:18 PM:
-----------------------------------------------------------

Thanks for the previous patch commit.  I realized i needed a few more methods:

# byte[][] columns  = batchUpdate.getColumns()
# boolean hasColumn = batchUpdate.hasColumn("col_family:name")

ps - st^ack - CHANGES.txt has the wrong issue number for this commit,  you have it as 822, should be 882.

Thanks again.




      was (Author: osm):
    Thanks for the previous patch commit.  I realized i needed a few more methods:

# byte[][] columns  = batchUpdate.getColumns()

# boolean hasColumn = batchUpdate.hasColumn("col_family:name")




  
> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0
>
>         Attachments: 882-2.patch, 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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