org.apache.pig.impl.io
Class PigFile

java.lang.Object
  extended by org.apache.pig.impl.io.PigFile

public class PigFile
extends Object


Constructor Summary
PigFile(String filename)
           
PigFile(String filename, boolean append)
           
 
Method Summary
 DataBag load(LoadFunc lfunc, PigContext pigContext)
           
 void store(DataBag data, FuncSpec storeFuncSpec, PigContext pigContext)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PigFile

public PigFile(String filename,
               boolean append)

PigFile

public PigFile(String filename)
Method Detail

load

public DataBag load(LoadFunc lfunc,
                    PigContext pigContext)
             throws IOException
Throws:
IOException

store

public void store(DataBag data,
                  FuncSpec storeFuncSpec,
                  PigContext pigContext)
           throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 The Apache Software Foundation