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 UtkarshSrivastava
Date Wed, 28 Nov 2007 00:19:40 GMT
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 UtkarshSrivastava:
http://wiki.apache.org/pig/StorageFunction

The comment on the change is:
Added reference to BinStorage and PigStorage as examples

------------------------------------------------------------------------------
  Load/Store Functions are written by implementing one or both of the interfaces given below.

  
  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].
  
  {{{
  public interface LoadFunc {

Mime
View raw message