[ https://issues.apache.org/jira/browse/HADOOP-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557920#action_12557920 ]
Thomas Garner commented on HADOOP-2386: --------------------------------------- +1 vote for this feature request. The timestamp should be promoted to a first class citizen. For any timestamped data, reading it back without knowing the timestamp at which it was written is undesirable. I would imagine it worthwhile to have scanners return access to the timestamp as well. > [hbase] Method to get a number of timestamped versions of a row all at once > --------------------------------------------------------------------------- > > Key: HADOOP-2386 > URL: https://issues.apache.org/jira/browse/HADOOP-2386 > Project: Hadoop > Issue Type: New Feature > Components: contrib/hbase > Reporter: Bryan Duxbury > Priority: Trivial > > 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.