This project has retired. For details please refer to its
Attic page .
CoordActionsInDateRange (Oozie Core 3.1.3-incubating API)
org.apache.oozie.util
Class CoordActionsInDateRange
java.lang.Object
org.apache.oozie.util.CoordActionsInDateRange
public class CoordActionsInDateRange extends Object
This class provides the utility of listing
coordinator actions that were executed between a certain
date range. This is helpful in turn for retrieving the
required logs in that date range.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
CoordActionsInDateRange
public CoordActionsInDateRange ()
getCoordActionsFromDates
public static List <CoordinatorActionBean > getCoordActionsFromDates (String jobId,
String scope)
throws XException
Get the list of actions for given date ranges
Parameters: jobId
- coordinator job idscope
- the date range for log. format is comma-separated list of date ranges. Each date range element is specified with two dates separated by '::'
Returns: the list of coordinator actions for the date range
Internally involves a database operation by invoking method 'getActionIdsFromDateRange'.
Throws:
XException
Copyright © 2012 Apache Software Foundation . All Rights Reserved.