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

'Compare' API (checkAnd* and Filters) improvement

    XMLWordPrintableJSON

Details

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

    Description

      From enis 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

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: