public class TaskResponseInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
TaskResponseInfo() |
TaskResponseInfo(TaskResponseInfo 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 |
---|---|
Boolean |
getCanDownload()
Get Whether the data can be downloaded
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCmdArgs()
Get The program entry parameter for running a task under a Spark job.
|
CommonMetrics |
getCommonMetrics()
Get Common task metrics
Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained.
|
String |
getCreateTime()
Get Task creation time
|
Long |
getDataAmount()
Get Data volume of the task
|
String |
getDatabaseName()
Get Database name of the task
|
String |
getDataEngineId()
Get Compute resource ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDataEngineName()
Get Compute resource name
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getDataNumber()
Get Number of data entries
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDataSet()
Get Dataset of task results
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDriverSize()
Get The driver size.
|
String |
getError()
Get Failure information, such as `errorMessage`.
|
Long |
getExecutorMaxNumbers()
Get The maximum executor count (in dynamic mode).
|
Long |
getExecutorNums()
Get The executor count.
|
String |
getExecutorSize()
Get The executor size.
|
String |
getId()
Get Task ID
|
String |
getImageVersion()
Get The image version of the cluster.
|
String |
getInputConf()
Get Import configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInputType()
Get Whether the import type is local import or COS
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getOperateUin()
Get Sub-UIN that executes the SQL statement
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getOutputMessage()
Get Output information of task execution
|
String |
getOutputPath()
Get Task output path
|
Long |
getPercentage()
Get Task progress (%)
|
PrestoMonitorMetrics |
getPrestoMonitorMetrics()
Get The Presto task metrics.
|
String |
getProgressDetail()
Get Task progress details
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getResultExpired()
Get Whether the result has expired
|
String |
getRowAffectInfo()
Get Number of affected data rows
|
String |
getSparkJobFile()
Get JAR file of the Spark application entry
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSparkJobId()
Get Spark application job ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSparkJobName()
Get Spark application job name
Note: This field may return null, indicating that no valid values can be obtained.
|
SparkMonitorMetrics |
getSparkMonitorMetrics()
Get The Spark task metrics.
|
String |
getSQL()
Get SQL statement of the task
|
String |
getSQLType()
Get SQL statement type of the task, such as DDL and DML.
|
Long |
getState()
Get The task status.
|
String |
getTaskType()
Get Type of the engine executing the SQL statement
|
Long |
getTotalTime()
Get The task time in ms.
|
String |
getUiUrl()
Get Spark UI URL
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Task end time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getUsedTime()
Get The compute time in ms.
|
String |
getUserAlias()
Get User alias
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCanDownload(Boolean CanDownload)
Set Whether the data can be downloaded
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCmdArgs(String CmdArgs)
Set The program entry parameter for running a task under a Spark job.
|
void |
setCommonMetrics(CommonMetrics CommonMetrics)
Set Common task metrics
Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Task creation time
|
void |
setDataAmount(Long DataAmount)
Set Data volume of the task
|
void |
setDatabaseName(String DatabaseName)
Set Database name of the task
|
void |
setDataEngineId(String DataEngineId)
Set Compute resource ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDataEngineName(String DataEngineName)
Set Compute resource name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDataNumber(Long DataNumber)
Set Number of data entries
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDataSet(String DataSet)
Set Dataset of task results
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDriverSize(String DriverSize)
Set The driver size.
|
void |
setError(String Error)
Set Failure information, such as `errorMessage`.
|
void |
setExecutorMaxNumbers(Long ExecutorMaxNumbers)
Set The maximum executor count (in dynamic mode).
|
void |
setExecutorNums(Long ExecutorNums)
Set The executor count.
|
void |
setExecutorSize(String ExecutorSize)
Set The executor size.
|
void |
setId(String Id)
Set Task ID
|
void |
setImageVersion(String ImageVersion)
Set The image version of the cluster.
|
void |
setInputConf(String InputConf)
Set Import configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInputType(String InputType)
Set Whether the import type is local import or COS
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOperateUin(String OperateUin)
Set Sub-UIN that executes the SQL statement
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOutputMessage(String OutputMessage)
Set Output information of task execution
|
void |
setOutputPath(String OutputPath)
Set Task output path
|
void |
setPercentage(Long Percentage)
Set Task progress (%)
|
void |
setPrestoMonitorMetrics(PrestoMonitorMetrics PrestoMonitorMetrics)
Set The Presto task metrics.
|
void |
setProgressDetail(String ProgressDetail)
Set Task progress details
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResultExpired(Boolean ResultExpired)
Set Whether the result has expired
|
void |
setRowAffectInfo(String RowAffectInfo)
Set Number of affected data rows
|
void |
setSparkJobFile(String SparkJobFile)
Set JAR file of the Spark application entry
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSparkJobId(String SparkJobId)
Set Spark application job ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSparkJobName(String SparkJobName)
Set Spark application job name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSparkMonitorMetrics(SparkMonitorMetrics SparkMonitorMetrics)
Set The Spark task metrics.
|
void |
setSQL(String SQL)
Set SQL statement of the task
|
void |
setSQLType(String SQLType)
Set SQL statement type of the task, such as DDL and DML.
|
void |
setState(Long State)
Set The task status.
|
void |
setTaskType(String TaskType)
Set Type of the engine executing the SQL statement
|
void |
setTotalTime(Long TotalTime)
Set The task time in ms.
|
void |
setUiUrl(String UiUrl)
Set Spark UI URL
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Task end time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUsedTime(Long UsedTime)
Set The compute time in ms.
|
void |
setUserAlias(String UserAlias)
Set User alias
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TaskResponseInfo()
public TaskResponseInfo(TaskResponseInfo source)
public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName
- Database name of the taskpublic Long getDataAmount()
public void setDataAmount(Long DataAmount)
DataAmount
- Data volume of the taskpublic String getId()
public void setId(String Id)
Id
- Task IDpublic Long getUsedTime()
public void setUsedTime(Long UsedTime)
UsedTime
- The compute time in ms.public String getOutputPath()
public void setOutputPath(String OutputPath)
OutputPath
- Task output pathpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Task creation timepublic Long getState()
public void setState(Long State)
State
- The task status. Valid values: `0` (initializing), `1` (executing), `2` (executed), `3` (writing data), `4` (queuing), `-1` (failed), and `-3` (canceled).public String getSQLType()
public void setSQLType(String SQLType)
SQLType
- SQL statement type of the task, such as DDL and DML.public String getSQL()
public void setSQL(String SQL)
SQL
- SQL statement of the taskpublic Boolean getResultExpired()
public void setResultExpired(Boolean ResultExpired)
ResultExpired
- Whether the result has expiredpublic String getRowAffectInfo()
public void setRowAffectInfo(String RowAffectInfo)
RowAffectInfo
- Number of affected data rowspublic String getDataSet()
public void setDataSet(String DataSet)
DataSet
- Dataset of task results
Note: This field may return null, indicating that no valid values can be obtained.public String getError()
public void setError(String Error)
Error
- Failure information, such as `errorMessage`. This field has been disused.public Long getPercentage()
public void setPercentage(Long Percentage)
Percentage
- Task progress (%)public String getOutputMessage()
public void setOutputMessage(String OutputMessage)
OutputMessage
- Output information of task executionpublic String getTaskType()
public void setTaskType(String TaskType)
TaskType
- Type of the engine executing the SQL statementpublic String getProgressDetail()
public void setProgressDetail(String ProgressDetail)
ProgressDetail
- Task progress details
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Task end time
Note: This field may return null, indicating that no valid values can be obtained.public String getDataEngineId()
public void setDataEngineId(String DataEngineId)
DataEngineId
- Compute resource ID
Note: This field may return null, indicating that no valid values can be obtained.public String getOperateUin()
public void setOperateUin(String OperateUin)
OperateUin
- Sub-UIN that executes the SQL statement
Note: This field may return null, indicating that no valid values can be obtained.public String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- Compute resource name
Note: This field may return null, indicating that no valid values can be obtained.public String getInputType()
public void setInputType(String InputType)
InputType
- Whether the import type is local import or COS
Note: This field may return null, indicating that no valid values can be obtained.public String getInputConf()
public void setInputConf(String InputConf)
InputConf
- Import configuration
Note: This field may return null, indicating that no valid values can be obtained.public Long getDataNumber()
public void setDataNumber(Long DataNumber)
DataNumber
- Number of data entries
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getCanDownload()
public void setCanDownload(Boolean CanDownload)
CanDownload
- Whether the data can be downloaded
Note: This field may return null, indicating that no valid values can be obtained.public String getUserAlias()
public void setUserAlias(String UserAlias)
UserAlias
- User alias
Note: This field may return null, indicating that no valid values can be obtained.public String getSparkJobName()
public void setSparkJobName(String SparkJobName)
SparkJobName
- Spark application job name
Note: This field may return null, indicating that no valid values can be obtained.public String getSparkJobId()
public void setSparkJobId(String SparkJobId)
SparkJobId
- Spark application job ID
Note: This field may return null, indicating that no valid values can be obtained.public String getSparkJobFile()
public void setSparkJobFile(String SparkJobFile)
SparkJobFile
- JAR file of the Spark application entry
Note: This field may return null, indicating that no valid values can be obtained.public String getUiUrl()
public void setUiUrl(String UiUrl)
UiUrl
- Spark UI URL
Note: This field may return null, indicating that no valid values can be obtained.public Long getTotalTime()
public void setTotalTime(Long TotalTime)
TotalTime
- The task time in ms.
Note: This field may return null, indicating that no valid values can be obtained.public String getCmdArgs()
public void setCmdArgs(String CmdArgs)
CmdArgs
- The program entry parameter for running a task under a Spark job.
Note: This field may return null, indicating that no valid values can be obtained.public String getImageVersion()
public void setImageVersion(String ImageVersion)
ImageVersion
- The image version of the cluster.
Note: This field may return null, indicating that no valid values can be obtained.public String getDriverSize()
public void setDriverSize(String DriverSize)
DriverSize
- The driver size.
Valid values for the standard resource type: `small`, `medium`, `large`, and `xlarge`.
Valid values for the memory resource type: `m.small`, `m.medium`, `m.large`, and `m.xlarge`.
Note: This field may return null, indicating that no valid values can be obtained.public String getExecutorSize()
public void setExecutorSize(String ExecutorSize)
ExecutorSize
- The executor size.
Valid values for the standard resource type: `small`, `medium`, `large`, and `xlarge`.
Valid values for the memory resource type: `m.small`, `m.medium`, `m.large`, and `m.xlarge`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getExecutorNums()
public void setExecutorNums(Long ExecutorNums)
ExecutorNums
- The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
Note: This field may return null, indicating that no valid values can be obtained.public Long getExecutorMaxNumbers()
public void setExecutorMaxNumbers(Long ExecutorMaxNumbers)
ExecutorMaxNumbers
- The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set `ExecutorMaxNumbers` to a value smaller than that of `ExecutorNums`, the value of `ExecutorMaxNumbers` is automatically changed to that of `ExecutorNums`.
Note: This field may return null, indicating that no valid values can be obtained.public CommonMetrics getCommonMetrics()
public void setCommonMetrics(CommonMetrics CommonMetrics)
CommonMetrics
- Common task metrics
Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained.public SparkMonitorMetrics getSparkMonitorMetrics()
public void setSparkMonitorMetrics(SparkMonitorMetrics SparkMonitorMetrics)
SparkMonitorMetrics
- The Spark task metrics.
Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained.public PrestoMonitorMetrics getPrestoMonitorMetrics()
public void setPrestoMonitorMetrics(PrestoMonitorMetrics PrestoMonitorMetrics)
PrestoMonitorMetrics
- The Presto task metrics.
Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.