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

Have Mutation implement the Row interface.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.94.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

      In HBASE-4347 I factored some code from Put/Delete/Append in Mutation.

      In a discussion with a co-worker I noticed that Put/Delete/Append still implement the Row interface, but Mutation does not.

      In a trivial change I would like to move that interface up to Mutation, along with changing HTable.batch(List<Row>) to HTable.batch(List<? extends Row>) (HConnection.processBatch takes List<? extends Row> already anyway), so that HTable.batch can be used with a list of Mutations.

      Attachments

        1. 5670-0.94.txt
          7 kB
          Lars Hofhansl
        2. 5670-trunk.txt
          7 kB
          Lars Hofhansl
        3. 5670-trunk.txt
          7 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: