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

Marker interface for Cells which may have backing ByteBuffers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      We often need to treat cells that may have backing ByteBuffers differently.
      The easy thing to would be checking if they are ByteBufferExtendedCell , but CellWrapper , OnHepDecodedCell and TagRewriteCell may also delegate to a ByteBufferExtendedCell.

      Having a marker interface that indicates that a cell is guaranteed to be on-heap, or that it may not be fully on-heap would make it easier and faster to check whether we need to clone them. (We only need one, it may be either negative or positive)

      Attachments

        Activity

          People

            Unassigned Unassigned
            stoty Istvan Toth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: