hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doğacan Güney (JIRA) <j...@apache.org>
Subject [jira] Commented: (HBASE-44) [hbase] Method to get a number of timestamped versions of a row all at once
Date Wed, 03 Dec 2008 19:03:44 GMT

    [ 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.


Mime
View raw message