Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CF87D8E2 for ; Mon, 17 Sep 2012 14:14:08 +0000 (UTC) Received: (qmail 55580 invoked by uid 500); 17 Sep 2012 14:14:07 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 55545 invoked by uid 500); 17 Sep 2012 14:14:07 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 55529 invoked by uid 99); 17 Sep 2012 14:14:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 14:14:07 +0000 Date: Tue, 18 Sep 2012 01:14:07 +1100 (NCT) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: <1094244603.87813.1347891247761.JavaMail.jiratomcat@arcas> In-Reply-To: <1448090845.87097.1347876427961.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CRUNCH-65) Provide support for creating PType MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > ---------------------------------------- > > 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. Writables could have enum(...) function which can perform the necessary mappings and create a PType 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