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

Josh Wills commented on CRUNCH-58:
----------------------------------

So cool. My only quibble is with the getPipeline/getName/write methods on 
PObject as opposed to returning a reference to the backing PCollection-- what 
was the use case you had in mind?
                
> Implement PObject in Crunch/Scrunch
> -----------------------------------
>
>                 Key: CRUNCH-58
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-58
>             Project: Crunch
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Kiyan Ahmadizadeh
>            Assignee: Kiyan Ahmadizadeh
>         Attachments: CRUNCH-58.patch
>
>
> FlumeJava has the concept of a PObject<T>, a container for a singleton of 
> type T.  It is meant represent the result of a distributed computation that 
> yields a singleton value (for example max, min, and length methods on 
> PCollection<T>).  Generally speaking, the result of any computation that 
> combines/reduces a PCollection into a singleton value could be represented by 
> a PObject.  
> Like PCollection, a PObject defers distributed computation until its value is 
> actually used.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to