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

Use builder pattern to create cell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • Reviewed
    • Hide
      Introduce the CellBuilder helper.
      1) Using CellBuilderFactory to get CellBuilder for creating cell with row,
          column, qualifier, type, and value.
      2) For internal use, the ExtendedCellBuilder, which is created by ExtendedCellBuilderFactory, is able to build cell with extra fields - sequence id and tags -
      Show
      Introduce the CellBuilder helper. 1) Using CellBuilderFactory to get CellBuilder for creating cell with row,     column, qualifier, type, and value. 2) For internal use, the ExtendedCellBuilder, which is created by ExtendedCellBuilderFactory, is able to build cell with extra fields - sequence id and tags -

    Description

      The IndividualBytesFieldCell, which is introduced by HBASE-14882, carries the input arguments without copying. We can substitute IndividualBytesFieldCell for CellUtil.createCell.

      Attachments

        1. HBASE-18519.v0.patch
          12 kB
          Chia-Ping Tsai
        2. HBASE-18519.v1.patch
          37 kB
          Chia-Ping Tsai
        3. HBASE-18519.v2.patch
          73 kB
          Chia-Ping Tsai
        4. HBASE-18519.v3.patch
          82 kB
          Chia-Ping Tsai
        5. HBASE-18519.v4.patch
          81 kB
          Chia-Ping Tsai
        6. HBASE-18519.v5.patch
          77 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: