[
https://issues.apache.org/jira/browse/HBASE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652901#action_12652901
]
Doğacan Güney commented on HBASE-44:
------------------------------------
Stack, it seems I didn't understand what you meant :) As I indicated in an
earlier comment on HBASE-847, I think patch there also fixes this issue. I
mean, it adds a new method:
{code}
public RowResult getRow(byte[] row, byte[][] columns, long timestamp, int
numVersions)
{code}
which does what this issue asks, right?
This is also true for HBASE-857. I think HBASE-31 is also covered, but you may
disagree (since you get multiple versions of data+timestamps, but can not just
get multiple versions of timestamps).
> [hbase] Method to get a number of timestamped versions of a row all at once
> ---------------------------------------------------------------------------
>
> Key: HBASE-44
> URL: https://issues.apache.org/jira/browse/HBASE-44
> Project: Hadoop HBase
> Issue Type: Sub-task
> Components: client
> Reporter: Bryan Duxbury
> Assignee: Doğacan Güney
> Priority: Trivial
> Fix For: 0.20.0
>
>
> If you have rows that are densely populated (most versions have all the
> columns) and heavily versioned, and if you are doing things like checking
> difference between the versions, it would be really handy to be able to get
> all of the versions and data at once. This method would let you do that.
> {code}
> Map<long, Map<Text, byte[]>> getRowTimestampsWithColumns(Text row);
> Map<long, Map<Text, byte[]>> getRowTimestampsWithColumns(Text row, Text[]
> columns);
> Map<long, Map<Text, byte[]>> getRowTimestampsWithColumns(Text row, Text[]
> columns, long timestamp);
> Map<long, Map<Text, byte[]>> getRowTimestampsWithColumns(Text row, Text[]
> columns, long timestamp, int numVersions);
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.