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

'Compare' API (checkAnd* and Filters) improvement

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • API
    • None

    Description

      From Enis Soztutar in the description for HBASE-14997, he suggests:

      • Cleanup ByteArrayComparable interface (see the TODO at the class)
      • Maybe introduce a Condition or a similar concept and do checkAndPut(Condition condition, Put put) and change filters to use that as well.
      • Introducing Condition like thing will allow us to have an interface like: checkAndMutate(List<Condition> conditions, List<Mutation> mutations).
      • BinaryComparator, etc are not "Comparators", they are comparables.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            stack Michael Stack

            Dates

              Created:
              Updated:

              Slack

                Issue deployment