org.apache.pig.tools.pigstats
Class OutputStats

java.lang.Object
  extended by org.apache.pig.tools.pigstats.OutputStats

@InterfaceAudience.Public
@InterfaceStability.Evolving
public final class OutputStats
extends Object

This class encapsulates the runtime statistics of an user specified output.


Constructor Summary
OutputStats(String location, long bytes, long records, boolean success)
           
 
Method Summary
 String getAlias()
           
 long getBytes()
           
 org.apache.hadoop.conf.Configuration getConf()
           
 String getDisplayString()
           
 String getFunctionName()
           
 String getLocation()
           
 String getName()
           
 long getNumberRecords()
           
 POStore getPOStore()
           
 boolean isSuccessful()
           
 Iterator<Tuple> iterator()
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 void setPOStore(POStore store)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStats

public OutputStats(String location,
                   long bytes,
                   long records,
                   boolean success)
Method Detail

getName

public String getName()

getLocation

public String getLocation()

getBytes

public long getBytes()

getNumberRecords

public long getNumberRecords()

getFunctionName

public String getFunctionName()

isSuccessful

public boolean isSuccessful()

getAlias

public String getAlias()

getPOStore

public POStore getPOStore()

getConf

public org.apache.hadoop.conf.Configuration getConf()

getDisplayString

public String getDisplayString()

setPOStore

public void setPOStore(POStore store)

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)

iterator

public Iterator<Tuple> iterator()
                         throws IOException
Throws:
IOException


Copyright © 2007-2012 The Apache Software Foundation