org.apache.pig.tools.pigstats
Class InputStats

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

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

This class encapsulates the runtime statistics of a user specified input.


Nested Class Summary
static class InputStats.INPUT_TYPE
           
 
Constructor Summary
InputStats(String location, long bytes, long records, boolean success)
           
 
Method Summary
 long getBytes()
           
 org.apache.hadoop.conf.Configuration getConf()
           
 String getDisplayString()
           
 InputStats.INPUT_TYPE getInputType()
           
 String getLocation()
           
 String getName()
           
 long getNumberRecords()
           
 boolean isSuccessful()
           
 void markIndexerInput()
           
 void markSampleInput()
           
 void markSideFileInput()
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStats

public InputStats(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()

isSuccessful

public boolean isSuccessful()

getConf

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

getInputType

public InputStats.INPUT_TYPE getInputType()

getDisplayString

public String getDisplayString()

setConf

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

markSampleInput

public void markSampleInput()

markIndexerInput

public void markIndexerInput()

markSideFileInput

public void markSideFileInput()


Copyright © 2007-2012 The Apache Software Foundation