public class TaskResultInfo extends AbstractModel
| Constructor and Description | 
|---|
| TaskResultInfo() | 
| TaskResultInfo(TaskResultInfo 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 | getCreateTime()Get Task creation timestamp | 
| Long | getDataAmount()Get Amount of the data scanned in bytes | 
| String | getDatabaseName()Get Name of the default selected database when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDatasourceConnectionName()Get Name of the default selected data source when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDisplayFormat()Get Console display format. | 
| String | getNextToken()Get Pagination information. | 
| String | getOutputMessage()Get Task execution information. | 
| String | getOutputPath()Get Address of the COS bucket for storing the task result | 
| Long | getPercentage()Get Task progress (%) | 
| String | getProgressDetail()Get Task progress details | 
| Column[] | getResultSchema()Get Schema information of the result
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getResultSet()Get Result information. | 
| String | getRowAffectInfo()Get Number of affected rows | 
| String | getSQL()Get The currently executed SQL statement. | 
| String | getSQLType()Get Type of the executed task. | 
| Long | getState()Get Current status of the task. | 
| String | getTaskId()Get Unique task ID | 
| Long | getTotalTime()Get The task time in ms. | 
| Long | getUsedTime()Get The compute time in ms. | 
| void | setCreateTime(String CreateTime)Set Task creation timestamp | 
| void | setDataAmount(Long DataAmount)Set Amount of the data scanned in bytes | 
| void | setDatabaseName(String DatabaseName)Set Name of the default selected database when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDatasourceConnectionName(String DatasourceConnectionName)Set Name of the default selected data source when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDisplayFormat(String DisplayFormat)Set Console display format. | 
| void | setNextToken(String NextToken)Set Pagination information. | 
| void | setOutputMessage(String OutputMessage)Set Task execution information. | 
| void | setOutputPath(String OutputPath)Set Address of the COS bucket for storing the task result | 
| void | setPercentage(Long Percentage)Set Task progress (%) | 
| void | setProgressDetail(String ProgressDetail)Set Task progress details | 
| void | setResultSchema(Column[] ResultSchema)Set Schema information of the result
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setResultSet(String ResultSet)Set Result information. | 
| void | setRowAffectInfo(String RowAffectInfo)Set Number of affected rows | 
| void | setSQL(String SQL)Set The currently executed SQL statement. | 
| void | setSQLType(String SQLType)Set Type of the executed task. | 
| void | setState(Long State)Set Current status of the task. | 
| void | setTaskId(String TaskId)Set Unique task ID | 
| void | setTotalTime(Long TotalTime)Set The task time in ms. | 
| void | setUsedTime(Long UsedTime)Set The compute time in ms. | 
| 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 TaskResultInfo()
public TaskResultInfo(TaskResultInfo source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId - Unique task IDpublic String getDatasourceConnectionName()
public void setDatasourceConnectionName(String DatasourceConnectionName)
DatasourceConnectionName - Name of the default selected data source when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained.public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName - Name of the default selected database when the current job is executed
Note: This field may return null, indicating that no valid values can be obtained.public String getSQL()
public void setSQL(String SQL)
SQL - The currently executed SQL statement. Each task contains one SQL statement.public String getSQLType()
public void setSQLType(String SQLType)
SQLType - Type of the executed task. Valid values: `DDL`, `DML`, `DQL`.public Long getState()
public void setState(Long State)
State - Current status of the task. `0`: initial; `1`: task running; `2`: task execution succeeded; `-1`: task execution failed; `-3`: task terminated manually by the user. The task execution result will be returned only if task execution succeeds.public Long getDataAmount()
public void setDataAmount(Long DataAmount)
DataAmount - Amount of the data scanned in bytespublic Long getUsedTime()
public void setUsedTime(Long UsedTime)
UsedTime - The compute time in ms.public String getOutputPath()
public void setOutputPath(String OutputPath)
OutputPath - Address of the COS bucket for storing the task resultpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Task creation timestamppublic String getOutputMessage()
public void setOutputMessage(String OutputMessage)
OutputMessage - Task execution information. `success` will be returned if the task succeeds; otherwise, the failure cause will be returned.public String getRowAffectInfo()
public void setRowAffectInfo(String RowAffectInfo)
RowAffectInfo - Number of affected rowspublic Column[] getResultSchema()
public void setResultSchema(Column[] ResultSchema)
ResultSchema - Schema information of the result
Note: This field may return null, indicating that no valid values can be obtained.public String getResultSet()
public void setResultSet(String ResultSet)
ResultSet - Result information. After it is unescaped, each element of the outer array is a data row.
Note: This field may return null, indicating that no valid values can be obtained.public String getNextToken()
public void setNextToken(String NextToken)
NextToken - Pagination information. If there is no more result data, `nextToken` will be empty.public Long getPercentage()
public void setPercentage(Long Percentage)
Percentage - Task progress (%)public String getProgressDetail()
public void setProgressDetail(String ProgressDetail)
ProgressDetail - Task progress detailspublic String getDisplayFormat()
public void setDisplayFormat(String DisplayFormat)
DisplayFormat - Console display format. Valid values: `table`, `text`.public Long getTotalTime()
public void setTotalTime(Long TotalTime)
TotalTime - The task time in ms.Copyright © 2022. All rights reserved.