You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/10/20 19:57:00 UTC

[jira] [Commented] (HBASE-16893) Use Iterables.removeIf instead of Iterator.remove in HBase filters

    [ https://issues.apache.org/jira/browse/HBASE-16893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592813#comment-15592813 ] 

Ted Yu commented on HBASE-16893:
--------------------------------

For master, can you rewrite using Java 8's support for removeIf() ?

> Use Iterables.removeIf instead of Iterator.remove in HBase filters
> ------------------------------------------------------------------
>
>                 Key: HBASE-16893
>                 URL: https://issues.apache.org/jira/browse/HBASE-16893
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Robert Yokota
>            Priority: Minor
>         Attachments: HBASE-16893.master.001.patch
>
>
> This is a performance improvement to use Iterables.removeIf in the filterRowCells method of DependentColumnFilter as described here:
> https://rayokota.wordpress.com/2016/10/20/tips-on-writing-custom-hbase-filters/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)