org.apache.oozie.action.hadoop
Class OoziePigStats
java.lang.Object
org.apache.oozie.action.hadoop.ActionStats
org.apache.oozie.action.hadoop.OoziePigStats
public class OoziePigStats
- extends ActionStats
Class to collect the Pig statistics for a Pig action
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OoziePigStats
public OoziePigStats(org.apache.pig.tools.pigstats.PigStats pigStats)
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.