Return-Path: Delivered-To: apmail-incubator-thrift-dev-archive@locus.apache.org Received: (qmail 95745 invoked from network); 5 Jan 2009 20:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2009 20:34:07 -0000 Received: (qmail 29836 invoked by uid 500); 5 Jan 2009 20:34:07 -0000 Delivered-To: apmail-incubator-thrift-dev-archive@incubator.apache.org Received: (qmail 29817 invoked by uid 500); 5 Jan 2009 20:34:07 -0000 Mailing-List: contact thrift-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: thrift-dev@incubator.apache.org Delivered-To: mailing list thrift-dev@incubator.apache.org Received: (qmail 29804 invoked by uid 99); 5 Jan 2009 20:34:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 12:34:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 20:34:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53ED6234C48C for ; Mon, 5 Jan 2009 12:33:44 -0800 (PST) Message-ID: <551330193.1231187624342.JavaMail.jira@brutus> Date: Mon, 5 Jan 2009 12:33:44 -0800 (PST) From: "David Reiss (JIRA)" To: thrift-dev@incubator.apache.org Subject: [jira] Commented: (THRIFT-222) Should have a reflection feature to know if the field corresponding to a field id is set In-Reply-To: <173513572.1228343864342.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/THRIFT-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660905#action_12660905 ] David Reiss commented on THRIFT-222: ------------------------------------ It was in patch v4. > Should have a reflection feature to know if the field corresponding to a field id is set > ---------------------------------------------------------------------------------------- > > Key: THRIFT-222 > URL: https://issues.apache.org/jira/browse/THRIFT-222 > Project: Thrift > Issue Type: Improvement > Components: Compiler (Java) > Reporter: Nathan Marz > Assignee: Piotr Kozikowski > Attachments: thrift-222-v2.patch, thrift-222-v3.patch, thrift-222-v4.patch, thrift-222.patch > > > The closest thing to this now is "getFieldValue(int field)", but this only provides the desired behavior for nullable fields since it delegates to the getters for each field. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.