hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18612) Update comparators to be more declarative
Date Wed, 16 Aug 2017 20:54:00 GMT
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

View raw message