pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Update of "LoadStoreMigrationGuide" by PradeepKamath
Date Wed, 10 Feb 2010 19:33:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The "LoadStoreMigrationGuide" page has been changed by PradeepKamath.
http://wiki.apache.org/pig/LoadStoreMigrationGuide?action=diff&rev1=3&rev2=4

--------------------------------------------------

              DataStorage storage) throws IOException {
          return null;
      }
+         
- 
-     public void fieldsToRead(Schema schema) {
-         // do nothing
-     }
-     
      public RequiredFieldResponse fieldsToRead(RequiredFieldList requiredFieldList)
      throws FrontendException {
          // indicate to pig that this loader will return all fields and not just
@@ -127, +123 @@

          return new RequiredFieldResponse(false);
      }
   }
- 
  }}}
  == New Implementation ==
  {{{
- public class PigStorage extends LoadFunc {
+ public class SimpleTextLoader extends LoadFunc {
      protected RecordReader in = null;               
      private byte fieldDel = '\t';
      private ArrayList<Object> mProtoTuple = null;

Mime
View raw message