hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18774) 'Compare' API (checkAnd* and Filters) improvement
Date Thu, 07 Sep 2017 21:19:00 GMT
stack created HBASE-18774:
-----------------------------

             Summary: 'Compare' API (checkAnd* and Filters) improvement
                 Key: HBASE-18774
                 URL: https://issues.apache.org/jira/browse/HBASE-18774
             Project: HBase
          Issue Type: Improvement
          Components: API
            Reporter: stack


>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.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message