|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.coord.CoordELEvaluator
public class CoordELEvaluator
This class provide different evaluators required at different stages
Field Summary | |
---|---|
static Integer |
HOUR
|
static Integer |
MINUTE
|
Constructor Summary | |
---|---|
CoordELEvaluator()
|
Method Summary | |
---|---|
static ELEvaluator |
createDataEvaluator(org.jdom.Element eJob,
org.apache.hadoop.conf.Configuration conf,
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,
String group,
HashMap<String,String> dataNameList)
|
static ELEvaluator |
createELEvaluatorForGroup(org.apache.hadoop.conf.Configuration conf,
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(String tag,
org.jdom.Element event,
SyncCoordAction appInst,
org.apache.hadoop.conf.Configuration conf)
|
static ELEvaluator |
createLazyEvaluator(Date actualTime,
Date nominalTime,
org.jdom.Element dEvent,
org.apache.hadoop.conf.Configuration conf)
Create a new evaluator for Lazy resolve (phase 3). |
static ELEvaluator |
createSLAEvaluator(Date nominalTime,
org.apache.hadoop.conf.Configuration conf)
Create a SLA evaluator to be used during Materialization |
static ELEvaluator |
createURIELEvaluator(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 Integer MINUTE
public static final Integer HOUR
Constructor Detail |
---|
public CoordELEvaluator()
Method Detail |
---|
public static ELEvaluator createELEvaluatorForGroup(org.apache.hadoop.conf.Configuration conf, String group)
conf
- : Configuration containing property variables
public static ELEvaluator createInstancesELEvaluator(org.jdom.Element event, SyncCoordAction appInst, org.apache.hadoop.conf.Configuration conf) throws 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
Exception
- : If there is any date-time string in wrong format, the exception is thrownpublic static ELEvaluator createInstancesELEvaluator(String tag, org.jdom.Element event, SyncCoordAction appInst, org.apache.hadoop.conf.Configuration conf) throws Exception
Exception
public static ELEvaluator createELEvaluatorForDataEcho(org.apache.hadoop.conf.Configuration conf, String group, HashMap<String,String> dataNameList) throws Exception
Exception
public static ELEvaluator createLazyEvaluator(Date actualTime, Date nominalTime, org.jdom.Element dEvent, org.apache.hadoop.conf.Configuration conf) throws Exception
actualTime
- : Action start timenominalTime
- : Action creation timedEvent
- :XML element for data-in element usually enclosed by conf
- :Configuration to substitute any variables
Exception
- : If there is any date-time string in wrong format, the exception is thrownpublic static ELEvaluator createSLAEvaluator(Date nominalTime, org.apache.hadoop.conf.Configuration conf) throws Exception
nominalTime
- conf
-
Exception
public static ELEvaluator createDataEvaluator(org.jdom.Element eJob, org.apache.hadoop.conf.Configuration conf, String actionId) throws Exception
eJob
- : XML element for the application instanceconf
- :Configuration to substitute any variables
Exception
- : If there is any date-time string in wrong format, the exception is thrownpublic static ELEvaluator createURIELEvaluator(String strDate) throws Exception
strDate
- : Date-time
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 |