Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Client
    • None
    • Incompatible change, Reviewed
    • Hide
      The below KeyValue based APIs are removed from Result
      KeyValue[] raw()
      List<KeyValue> list()
      List<KeyValue> getColumn(byte [] family, byte [] qualifier)
      KeyValue getColumnLatest(byte [] family, byte [] qualifier)
      KeyValue getColumnLatest(byte [] family, int foffset, int flength, byte [] qualifier, int qoffset, int qlength)

      They are replaced with
      Cell[] rawCells()
      List<Cell> listCells()
      List<Cell> getColumnCells(byte [] family, byte [] qualifier)
      Cell getColumnLatestCell(byte [] family, byte [] qualifier)
      Cell getColumnLatestCell(byte [] family, int foffset, int flength, byte [] qualifier, int qoffset, int qlength)
      respectively

      Also the constructors which were taking KeyValues also removed
      Result(KeyValue [] cells)
      Result(List<KeyValue> kvs)
      Show
      The below KeyValue based APIs are removed from Result KeyValue[] raw() List<KeyValue> list() List<KeyValue> getColumn(byte [] family, byte [] qualifier) KeyValue getColumnLatest(byte [] family, byte [] qualifier) KeyValue getColumnLatest(byte [] family, int foffset, int flength, byte [] qualifier, int qoffset, int qlength) They are replaced with Cell[] rawCells() List<Cell> listCells() List<Cell> getColumnCells(byte [] family, byte [] qualifier) Cell getColumnLatestCell(byte [] family, byte [] qualifier) Cell getColumnLatestCell(byte [] family, int foffset, int flength, byte [] qualifier, int qoffset, int qlength) respectively Also the constructors which were taking KeyValues also removed Result(KeyValue [] cells) Result(List<KeyValue> kvs)

    Description

      Remove KeyValue based APIs and keep only Cell based.
      These are deprecated since 0.96

      Attachments

        1. HBASE-12084.patch
          13 kB
          Anoop Sam John
        2. HBASE-12084.patch
          14 kB
          Anoop Sam John
        3. HBASE-12084_shell_addendum.patch
          2 kB
          Anoop Sam John
        4. HBASE-12084_shell_addendum.patch
          3 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: