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

Add missing CellUtil#isPut(Cell) methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • Client
    • None
    • Reviewed
    • Hide
      A new public API method was added to CellUtil "isPut(Cell)" for clients to use to determine if the Cell is for a Put operation.

      Additionally, other CellUtil API calls which expose Cell-implementation were marked as deprecated and will be removed in a future version.
      Show
      A new public API method was added to CellUtil "isPut(Cell)" for clients to use to determine if the Cell is for a Put operation. Additionally, other CellUtil API calls which expose Cell-implementation were marked as deprecated and will be removed in a future version.

    Description

      Over in HBASE-19002 while trying to write some RegionObservers, I found that I couldn't find a public-API method to determine if a Cell was for a Put. We seem to only have API for determining if it's a Delete.

      Let's get some methods added to CellUtil for users to consume.

      Attachments

        1. HBASE-19111.001.branch-2.patch
          7 kB
          Josh Elser
        2. HBASE-19111.002.branch-2.patch
          8 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: