You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2012/09/17 16:14:07 UTC

[jira] [Commented] (CRUNCH-65) Provide support for creating PType

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

Josh Wills commented on CRUNCH-65:
----------------------------------

Hey Rahul, my preference is for these impls to go into o.a.c.util.PTypes, along with the big int, json, etc. implementations. That way it can be used by both type families.
                
> Provide support for creating PType<Enum>
> ----------------------------------------
>
>                 Key: CRUNCH-65
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-65
>             Project: Crunch
>          Issue Type: New Feature
>            Reporter: Rahul Sharma
>            Priority: Minor
>         Attachments: 0001-CRUNCH-65-support-for-creating-PType-Enum.patch
>
>
> A user can process a collection to generate a new one with Enum values e.g. consisting pair<String, Enum>. Writables could have enum(...) function  which can perform the necessary mappings and create a PType<Enum> for the same.

--
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