public class TaskResultInfo extends AbstractModel
header, skipSign| 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 
 | 
Float | 
getQueryResultTime()
Get Time consumed to get results
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
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 u200cThe current task status. 
 | 
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 | 
setQueryResultTime(Float QueryResultTime)
Set Time consumed to get results
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
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 u200cThe current task status. 
 | 
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 - u200cThe current task status. Valid values: `0` (initializing), `1` (executing), `2` (executed), `3` (writing data), `4` (queuing), u200c`-1` (failed), and `-3` (canceled). Only when the task is successfully executed, a task execution result will be returned.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.public Float getQueryResultTime()
public void setQueryResultTime(Float QueryResultTime)
QueryResultTime - Time consumed to get results
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.