org.apache.oozie.action.hadoop
Class OoziePigStats

java.lang.Object
  extended by org.apache.oozie.action.hadoop.ActionStats
      extended by org.apache.oozie.action.hadoop.OoziePigStats

public class OoziePigStats
extends ActionStats

Class to collect the Pig statistics for a Pig action


Field Summary
 
Fields inherited from class org.apache.oozie.action.hadoop.ActionStats
currentActionType
 
Constructor Summary
OoziePigStats(org.apache.pig.tools.pigstats.PigStats pigStats)
           
 
Method Summary
 String toJSON()
          The PigStats API is used to collect the statistics and the result is returned as a JSON String.
 
Methods inherited from class org.apache.oozie.action.hadoop.ActionStats
getCurrentActionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OoziePigStats

public OoziePigStats(org.apache.pig.tools.pigstats.PigStats pigStats)
Method Detail

toJSON

public String toJSON()
The PigStats API is used to collect the statistics and the result is returned as a JSON String.

Specified by:
toJSON in class ActionStats
Returns:
a JSON string


Copyright © 2013 Apache Software Foundation. All Rights Reserved.