hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Smith (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
Date Thu, 11 Sep 2008 01:18:44 GMT

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

Ryan Smith updated HBASE-882:
-----------------------------

    Attachment: 882-2.patch

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.


Mime
View raw message