Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 15465 invoked from network); 3 Jun 2009 21:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 21:41:54 -0000 Received: (qmail 49421 invoked by uid 500); 3 Jun 2009 21:42:04 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 49327 invoked by uid 500); 3 Jun 2009 21:42:04 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 49317 invoked by uid 99); 3 Jun 2009 21:42:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 21:42:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 21:41:54 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MByDF-0003eO-Nh for core-user@hadoop.apache.org; Wed, 03 Jun 2009 14:41:33 -0700 Message-ID: <23860009.post@talk.nabble.com> Date: Wed, 3 Jun 2009 14:41:33 -0700 (PDT) From: dealmaker To: core-user@hadoop.apache.org Subject: Do I need to implement Readfields and Write Functions If I have Only One Field? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vinkhc@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have only one field for the record. I wonder if I even need to define a member variable in class Record. Do I even need to implement readfields and write functions if I have only one field? Can I just use the "value" object directly instead of a member variable of value object? Thanks. -- View this message in context: http://www.nabble.com/Do-I-need-to-implement-Readfields-and-Write-Functions-If-I-have-Only-One-Field--tp23860009p23860009.html Sent from the Hadoop core-user mailing list archive at Nabble.com.