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

Robert Yokota commented on PHOENIX-3393:
----------------------------------------

Also, as [~tedyu] mentioned, if Phoenix is using Java 8, you can use 
Collection.removeIf instead

> Use Iterables.removeIf instead of Iterator.remove in HBase filters
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-3393
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3393
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Robert Yokota
>            Assignee: Robert Yokota
>            Priority: Minor
>         Attachments: PHOENIX-3393.master.001.patch
>
>
> This is a performance improvement to use Iterables.removeIf in the 
> filterRowCells method of ColumnProjectionFilter 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)

Reply via email to