org.apache.oozie.action.hadoop
Class ActionStats
java.lang.Object
org.apache.oozie.action.hadoop.ActionStats
- Direct Known Subclasses:
- MRStats, OoziePigStats
public abstract class ActionStats
- extends Object
Abstract class that represents the statistics for any type of Oozie action.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentActionType
protected ActionType currentActionType
ActionStats
public ActionStats()
toJSON
public abstract String toJSON()
- Return the statistics in JSON format. Sub-classes must override this
method to provide statistics for their particular action type.
- Returns:
- a JSON string with the statistics information.
getCurrentActionType
public ActionType getCurrentActionType()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.