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

'Compare' API (checkAnd* and Filters) improvement

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      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

              People

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

                Dates

                • Created:
                  Updated: