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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.19.0
    • Client
    • 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

              dogacan Dogacan Guney
              bryanduxbury Bryan Duxbury
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: