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)

Reply via email to