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 "StorageFunction" by AlanGates
Date Wed, 06 Oct 2010 23:45:41 GMT
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 {

Mime
View raw message