Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14881

Provide a Put API that uses the provided row without coping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      The current available Put API always makes a copy of the rowkey.
      Let's provide an API that accepts an immutable byte array as rowkey without making a copy.
      There are cases where the caller of Put has created the immutable byte array (e.g from a serializer) and will not change it for the Put duration. We can avoid making a copy again.

      Attachments

        1. HBASE-14881.master.003.patch
          4 kB
          Xiang Li
        2. HBASE-14881.master.002.patch
          4 kB
          Xiang Li
        3. HBASE-14881.master.001.patch
          4 kB
          Xiang Li
        4. HBASE-14881-master-v0.patch
          3 kB
          Xiang Li

        Activity

          People

            xiangli Xiang Li
            jinghe Jerry He
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: