public class CoordELEvaluator extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
HOUR |
static java.lang.Integer |
MINUTE |
| Constructor and Description |
|---|
CoordELEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
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 |
createELEvaluatorForDataAndConf(org.apache.hadoop.conf.Configuration conf,
java.lang.String group,
java.util.HashMap<java.lang.String,java.lang.String> dataNameList)
Create an Evaluator using conf and input/output-data (used for sla)
|
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(org.jdom.Element eAction,
CoordinatorActionBean coordAction,
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
|
public static final java.lang.Integer MINUTE
public static final java.lang.Integer HOUR
public CoordELEvaluator()
public static ELEvaluator createELEvaluatorForGroup(org.apache.hadoop.conf.Configuration conf, java.lang.String group)
conf - : Configuration containing property variablespublic 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 variablesjava.lang.Exception - : If there is any date-time string in wrong format, the exception is thrownpublic 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.Exceptionpublic 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.Exceptionpublic 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 variablesjava.lang.Exception - : If there is any date-time string in wrong format, the exception is thrownpublic static ELEvaluator createSLAEvaluator(org.jdom.Element eAction, CoordinatorActionBean coordAction, org.apache.hadoop.conf.Configuration conf) throws java.lang.Exception
eAction - coordAction - conf - java.lang.Exceptionpublic static ELEvaluator createELEvaluatorForDataAndConf(org.apache.hadoop.conf.Configuration conf, java.lang.String group, java.util.HashMap<java.lang.String,java.lang.String> dataNameList) throws java.lang.Exception
conf - group - dataNameList - java.lang.Exceptionpublic 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 variablesjava.lang.Exception - : If there is any date-time string in wrong format, the exception is thrownpublic static ELEvaluator createURIELEvaluator(java.lang.String strDate) throws java.lang.Exception
strDate - : Date-timejava.lang.Exception - If there is any date-time string in wrong format, the exception is thrownCopyright © 2019 Apache Software Foundation. All Rights Reserved.