Return-Path: Delivered-To: apmail-hadoop-pig-commits-archive@www.apache.org Received: (qmail 60933 invoked from network); 10 Feb 2010 19:34:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 19:34:08 -0000 Received: (qmail 75001 invoked by uid 500); 10 Feb 2010 19:34:08 -0000 Delivered-To: apmail-hadoop-pig-commits-archive@hadoop.apache.org Received: (qmail 74971 invoked by uid 500); 10 Feb 2010 19:34:08 -0000 Mailing-List: contact pig-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-commits@hadoop.apache.org Received: (qmail 74962 invoked by uid 500); 10 Feb 2010 19:34:08 -0000 Delivered-To: apmail-incubator-pig-commits@incubator.apache.org Received: (qmail 74959 invoked by uid 99); 10 Feb 2010 19:34:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 19:34:08 +0000 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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 19:34:07 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id AE72217D1F for ; Wed, 10 Feb 2010 19:33:47 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 10 Feb 2010 19:33:47 -0000 Message-ID: <20100210193347.4712.69441@eos.apache.org> Subject: =?utf-8?q?=5BPig_Wiki=5D_Update_of_=22LoadStoreMigrationGuide=22_by_Prade?= =?utf-8?q?epKamath?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Pig Wiki" for chang= e notification. The "LoadStoreMigrationGuide" page has been changed by PradeepKamath. http://wiki.apache.org/pig/LoadStoreMigrationGuide?action=3Ddiff&rev1=3D3&r= ev2=3D4 -------------------------------------------------- DataStorage storage) throws IOException { return null; } + = - = - public void fieldsToRead(Schema schema) { - // do nothing - } - = public RequiredFieldResponse fieldsToRead(RequiredFieldList requiredF= ieldList) throws FrontendException { // indicate to pig that this loader will return all fields and no= t just @@ -127, +123 @@ return new RequiredFieldResponse(false); } } - = }}} =3D=3D New Implementation =3D=3D {{{ - public class PigStorage extends LoadFunc { + public class SimpleTextLoader extends LoadFunc { protected RecordReader in =3D null; = private byte fieldDel =3D '\t'; private ArrayList mProtoTuple =3D null;