Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-847 new API: HTable.getRow with numVersion specified
  3. HBASE-44

[hbase] Method to get a number of timestamped versions of a row all at once

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: Client
    • Labels:
      None

      Description

      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.

      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);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dogacan Doğacan Güney
                Reporter:
                bryanduxbury Bryan Duxbury
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: