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 2008/10/30 19:31:27 UTC

[Pig Wiki] Trivial Update of "StorageFunction" by CorinneC

Dear Wiki user,

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

The following page has been changed by CorinneC:
http://wiki.apache.org/pig/StorageFunction

------------------------------------------------------------------------------
  
  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/incubator/pig/trunk/src/org/apache/pig/builtin/PigStorage.java PigStorage], or [http://svn.apache.org/repos/asf/incubator/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/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].
  
  {{{
  public interface LoadFunc {