public class Execution extends AbstractModel
Constructor and Description |
---|
Execution() |
Execution(Execution source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getArgs()
Get 任务参数,提供除提交指令以外的参数。
|
String |
getJobType()
Get 任务类型,目前支持以下类型。
1.
|
void |
setArgs(String[] Args)
Set 任务参数,提供除提交指令以外的参数。
|
void |
setJobType(String JobType)
Set 任务类型,目前支持以下类型。
1.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Execution()
public Execution(Execution source)
public String getJobType()
public void setJobType(String JobType)
JobType
- 任务类型,目前支持以下类型。
1. “MR”,将通过hadoop jar的方式提交。
2. "HIVE",将通过hive -f的方式提交。
3. "SPARK",将通过spark-submit的方式提交。public String[] getArgs()
public void setArgs(String[] Args)
Args
- 任务参数,提供除提交指令以外的参数。Copyright © 2021. All rights reserved.