|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.coord.CoordELEvaluator
public class CoordELEvaluator
This class provide different evaluators required at different stages
| Field Summary | |
|---|---|
static java.lang.Integer |
HOUR
|
static java.lang.Integer |
MINUTE
|
| Constructor Summary | |
|---|---|
CoordELEvaluator()
|
|
| Method Summary | |
|---|---|
static ELEvaluator |
createDataEvaluator(org.jdom.Element eJob,
org.apache.hadoop.conf.Configuration conf,
java.lang.String actionId)
Create an Evaluator to resolve dataIns and dataOuts of an application instance (used in stage 3) |
static ELEvaluator |
createELEvaluatorForDataEcho(org.apache.hadoop.conf.Configuration conf,
java.lang.String group,
java.util.HashMap<java.lang.String,java.lang.String> dataNameList)
|
static ELEvaluator |
createELEvaluatorForGroup(org.apache.hadoop.conf.Configuration conf,
java.lang.String group)
Create an evaluator to be used in resolving configuration vars and frequency constant/functions (used in Stage 1) |
static ELEvaluator |
createInstancesELEvaluator(org.jdom.Element event,
SyncCoordAction appInst,
org.apache.hadoop.conf.Configuration conf)
Create a new Evaluator to resolve the EL functions and variables using action creation time (Phase 2) |
static ELEvaluator |
createInstancesELEvaluator(java.lang.String tag,
org.jdom.Element event,
SyncCoordAction appInst,
org.apache.hadoop.conf.Configuration conf)
|
static ELEvaluator |
createLazyEvaluator(java.util.Date actualTime,
java.util.Date nominalTime,
org.jdom.Element dEvent,
org.apache.hadoop.conf.Configuration conf)
Create a new evaluator for Lazy resolve (phase 3). |
static ELEvaluator |
createSLAEvaluator(java.util.Date nominalTime,
org.apache.hadoop.conf.Configuration conf)
Create a SLA evaluator to be used during Materialization |
static ELEvaluator |
createURIELEvaluator(java.lang.String strDate)
Create a new Evaluator to resolve URI temple with time specific constant |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Integer MINUTE
public static final java.lang.Integer HOUR
| Constructor Detail |
|---|
public CoordELEvaluator()
| Method Detail |
|---|
public static ELEvaluator createELEvaluatorForGroup(org.apache.hadoop.conf.Configuration conf,
java.lang.String group)
conf - : Configuration containing property variables
public static ELEvaluator createInstancesELEvaluator(org.jdom.Element event,
SyncCoordAction appInst,
org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
event - : Xml element for data-in element usually enclosed by appInst - : Application Instance related information such as Action creation Timeconf - :Configuration to substitute any variables
java.lang.Exception - : If there is any date-time string in wrong format, the exception is thrown
public static ELEvaluator createInstancesELEvaluator(java.lang.String tag,
org.jdom.Element event,
SyncCoordAction appInst,
org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
java.lang.Exception
public static ELEvaluator createELEvaluatorForDataEcho(org.apache.hadoop.conf.Configuration conf,
java.lang.String group,
java.util.HashMap<java.lang.String,java.lang.String> dataNameList)
throws java.lang.Exception
java.lang.Exception
public static ELEvaluator createLazyEvaluator(java.util.Date actualTime,
java.util.Date nominalTime,
org.jdom.Element dEvent,
org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
actualTime - : Action start timenominalTime - : Action creation timedEvent - :XML element for data-in element usually enclosed by conf - :Configuration to substitute any variables
java.lang.Exception - : If there is any date-time string in wrong format, the exception is thrown
public static ELEvaluator createSLAEvaluator(java.util.Date nominalTime,
org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
nominalTime - conf -
java.lang.Exception
public static ELEvaluator createDataEvaluator(org.jdom.Element eJob,
org.apache.hadoop.conf.Configuration conf,
java.lang.String actionId)
throws java.lang.Exception
eJob - : XML element for the application instanceconf - :Configuration to substitute any variables
java.lang.Exception - : If there is any date-time string in wrong format, the exception is thrown
public static ELEvaluator createURIELEvaluator(java.lang.String strDate)
throws java.lang.Exception
strDate - : Date-time
java.lang.Exception - If there is any date-time string in wrong format, the exception is thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||