You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2017/08/16 20:54:00 UTC

[jira] [Created] (HBASE-18612) Update comparators to be more declarative

Mike Drob created HBASE-18612:
---------------------------------

             Summary: Update comparators to be more declarative
                 Key: HBASE-18612
                 URL: https://issues.apache.org/jira/browse/HBASE-18612
             Project: HBase
          Issue Type: Improvement
            Reporter: Mike Drob
            Assignee: Mike Drob


We can write less code if we use factory methods present on Comparator to build the chains. Also has the advantage of being easier to update in the future and hopefully easier for incoming folks to understand.

See also: https://praveer09.github.io/technology/2016/06/21/writing-comparators-the-java8-way/



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