public class TasksInfo extends AbstractModel
| Constructor and Description | 
|---|
TasksInfo()  | 
TasksInfo(TasksInfo 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 | 
|---|---|
KVPair[] | 
getConfig()
Get Configuration information of the task. 
 | 
String | 
getFailureTolerance()
Get Fault tolerance policy. 
 | 
KVPair[] | 
getParams()
Get User-defined parameters of the task 
 | 
String | 
getSQL()
Get Base64-encrypted SQL statements separated by ";". 
 | 
String | 
getTaskType()
Get Task type. 
 | 
void | 
setConfig(KVPair[] Config)
Set Configuration information of the task. 
 | 
void | 
setFailureTolerance(String FailureTolerance)
Set Fault tolerance policy. 
 | 
void | 
setParams(KVPair[] Params)
Set User-defined parameters of the task 
 | 
void | 
setSQL(String SQL)
Set Base64-encrypted SQL statements separated by ";". 
 | 
void | 
setTaskType(String TaskType)
Set Task type. 
 | 
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, toJsonStringpublic TasksInfo()
public TasksInfo(TasksInfo source)
public String getTaskType()
public void setTaskType(String TaskType)
TaskType - Task type. Valid values: `SQLTask` (SQL query task), `SparkSQLTask` (Spark SQL query task).public String getFailureTolerance()
public void setFailureTolerance(String FailureTolerance)
FailureTolerance - Fault tolerance policy. `Proceed`: continues to execute subsequent tasks after the current task fails or is canceled. `Terminate`: terminates the execution of subsequent tasks after the current task fails or is canceled, and marks all subsequent tasks as canceled.public String getSQL()
public void setSQL(String SQL)
SQL - Base64-encrypted SQL statements separated by ";". Up to 50 tasks can be submitted at a time, and they will be executed strictly in sequence.public KVPair[] getConfig()
public void setConfig(KVPair[] Config)
Config - Configuration information of the task. Currently, only `SparkSQLTask` tasks are supported.public KVPair[] getParams()
public void setParams(KVPair[] Params)
Params - User-defined parameters of the taskCopyright © 2022. All rights reserved.