crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-65) Provide support for creating PType<Enum>
Date Mon, 17 Sep 2012 14:14:07 GMT

    [ 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

Mime
View raw message