Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Adds method Cell#getType which returns enum describing Cell Type.

      Deprecates the following Cell methods:

       getTypeByte
       getSequenceId
       getTagsArray
       getTagsOffset
       getTagsLength

      CPs trying to build cells should use RawCellBuilderFactory that supports building cells with tags.
      Show
      Adds method Cell#getType which returns enum describing Cell Type. Deprecates the following Cell methods:  getTypeByte  getSequenceId  getTagsArray  getTagsOffset  getTagsLength CPs trying to build cells should use RawCellBuilderFactory that supports building cells with tags.

      Description

      Chia-Ping Tsai suggested on the mailing list that we have some methods on Cell which should be deprecated for removal:

      • #getType()
      • #getTimestamp()
      • #getTag()
      • #getSequenceId()

      Let's make a pass over these (and maybe the rest) to make sure that there aren't others which are either implementation details or methods returning now-private-marked classes.

        Attachments

        1. HBASE-19112_branch-2.patch
          39 kB
          ramkrishna.s.vasudevan
        2. HBASE-19112_branch-2_1.patch
          71 kB
          ramkrishna.s.vasudevan
        3. HBASE-19112_master.patch
          71 kB
          ramkrishna.s.vasudevan
        4. HBASE-19112_master_1.patch
          73 kB
          ramkrishna.s.vasudevan
        5. HBASE-19112_master_1.patch
          73 kB
          stack
        6. HBASE-19112_master_2.patch
          78 kB
          ramkrishna.s.vasudevan
        7. HBASE-19112_master_3.patch
          129 kB
          ramkrishna.s.vasudevan
        8. HBASE-19112_master_4.patch
          119 kB
          ramkrishna.s.vasudevan
        9. HBASE-19112_master_5.patch
          113 kB
          ramkrishna.s.vasudevan
        10. HBASE-19112_master_6.patch
          113 kB
          ramkrishna.s.vasudevan

          Issue Links

            Activity

              People

              • Assignee:
                ram_krish ramkrishna.s.vasudevan
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: