You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2010/10/07 01:45:41 UTC

[Pig Wiki] Update of "StorageFunction" by AlanGates

Dear Wiki user,

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

The "StorageFunction" page has been changed by AlanGates.
http://wiki.apache.org/pig/StorageFunction?action=diff&rev1=4&rev2=5

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

  
  If the !LoadFunc interface is implemented, the function can be used to load tuples. If the !StoreFunc interface is implemented, the function can be used to store tuples. Since loading and storing are usually tied to each other, most functions will implement both interfaces, e.g., !PigStorage and !BinStorage do. However, occassionally, we may write a function only for loading.
  
- For examples of how to implement the following interfaces, look at [[http://svn.apache.org/repos/asf/hadoop/pig/trunk/src/org/apache/pig/builtin/PigStorage.java|PigStorage]], or [[http://svn.apache.org/repos/asf/hadoop/pig/trunk/src/org/apache/pig/builtin/BinStorage.java|BinStorage]].
+ For examples of how to implement the following interfaces, look at [[http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/builtin/PigStorage.java|PigStorage]], or [[http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/builtin/BinStorage.java|BinStorage]].
  
  {{{
  public interface LoadFunc {