Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18978 Align the methods in Table and AsyncTable
  3. HBASE-19213

Align check and mutate operations in Table and AsyncTable

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha-4
    • 2.0.0-beta-1, 2.0.0
    • API
    • None
    • Hide
      In Table interface deprecate checkAndPut, checkAndDelete and checkAndMutate methods.
      Similarly to AsyncTable a new method was added to replace the deprecated ones: CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) with CheckAndMutateBuilder interface which can be used to construct the checkAnd*() operations.
      Show
      In Table interface deprecate checkAndPut, checkAndDelete and checkAndMutate methods. Similarly to AsyncTable a new method was added to replace the deprecated ones: CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family) with CheckAndMutateBuilder interface which can be used to construct the checkAnd*() operations.

    Description

      Check and mutate methods are way different. Table has checkAndx methods (some of them are deprecated), but AsyncTable has an interface called CheckAndMutateBuilder and these kind of operations are handled through that.

      Attachments

        1. HBASE-19213.master.001.patch
          74 kB
          Peter Somogyi
        2. HBASE-19213.master.001.patch
          74 kB
          Peter Somogyi
        3. HBASE-19213.master.002.patch
          75 kB
          Peter Somogyi
        4. HBASE-19213.branch-2.002.patch
          73 kB
          Peter Somogyi

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            psomogyi Peter Somogyi
            psomogyi Peter Somogyi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment