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

ASF GitHub Bot commented on STORM-1505:
---------------------------------------

Github user ptgoetz commented on the pull request:

    https://github.com/apache/storm/pull/1050#issuecomment-178592968
  
    @arunmahadevan Yes, I'm talking about adding the following:
    
    ```java
    public Stream filter(Fields inputFields, Filter filter)
    ```
    
    I know it's minor, but I'm thinking of users having existing `Filter` 
implementations that may depend on specific fields being selected.



> Add map, flatMap and filter operations in trident api
> -----------------------------------------------------
>
>                 Key: STORM-1505
>                 URL: https://issues.apache.org/jira/browse/STORM-1505
>             Project: Apache Storm
>          Issue Type: Improvement
>            Reporter: Arun Mahadevan
>            Assignee: Arun Mahadevan
>
> map and flatMap are common stream operations. 
> Right now in trident this has to be implemented via each() which also sends 
> the input field values in addition to the mapped field values, so the map and 
> flatmap should make things slightly more efficient and easy.



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

Reply via email to