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

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

     [ https://issues.apache.org/jira/browse/CRUNCH-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Sharma updated CRUNCH-65:
-------------------------------

    Attachment: 0001-CRUNCH-65-support-for-creating-PType-Enum.patch

Added a function in writables that will convert an enum into Text and back.
                
> 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