[ 
https://issues.apache.org/jira/browse/HBASE-18612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Drob updated HBASE-18612:
------------------------------
    Attachment: HBASE-18612-WIP.patch

Attaching a WIP patch to demonstrate the idea, but I don't have time in the 
near future to drive it much further.

Labelling the issue beginner.

> 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
>              Labels: beginner, java8
>         Attachments: HBASE-18612-WIP.patch
>
>
> 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)

Reply via email to