You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/08/30 14:52:00 UTC

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

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

Michael Stack reassigned HBASE-18612:
-------------------------------------

    Assignee: Harjit Singh

> 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: Harjit Singh
>            Priority: Major
>              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
(v8.3.4#803005)