Class DescribeUserSqlAdviceResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.DescribeUserSqlAdviceResponse
-
public class DescribeUserSqlAdviceResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeUserSqlAdviceResponse()DescribeUserSqlAdviceResponse(DescribeUserSqlAdviceResponse 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdvices()Get SQL优化建议,可解析为JSON数组,无需优化时输出为空。StringgetComments()Get SQL优化建议备注,可解析为String数组,无需优化时输出为空。StringgetCost()Get SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。StringgetSchema()Get 库名。StringgetSqlPlan()Get SQL执行计划,可解析为JSON,无需优化时输出为空。StringgetSqlText()Get SQL语句。StringgetTables()Get 相关表的DDL信息,可解析为JSON数组。voidsetAdvices(String Advices)Set SQL优化建议,可解析为JSON数组,无需优化时输出为空。voidsetComments(String Comments)Set SQL优化建议备注,可解析为String数组,无需优化时输出为空。voidsetCost(String Cost)Set SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetSchema(String Schema)Set 库名。voidsetSqlPlan(String SqlPlan)Set SQL执行计划,可解析为JSON,无需优化时输出为空。voidsetSqlText(String SqlText)Set SQL语句。voidsetTables(String Tables)Set 相关表的DDL信息,可解析为JSON数组。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeUserSqlAdviceResponse
public DescribeUserSqlAdviceResponse()
-
DescribeUserSqlAdviceResponse
public DescribeUserSqlAdviceResponse(DescribeUserSqlAdviceResponse 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.
-
-
Method Detail
-
getAdvices
public String getAdvices()
Get SQL优化建议,可解析为JSON数组,无需优化时输出为空。- Returns:
- Advices SQL优化建议,可解析为JSON数组,无需优化时输出为空。
-
setAdvices
public void setAdvices(String Advices)
Set SQL优化建议,可解析为JSON数组,无需优化时输出为空。- Parameters:
Advices- SQL优化建议,可解析为JSON数组,无需优化时输出为空。
-
getComments
public String getComments()
Get SQL优化建议备注,可解析为String数组,无需优化时输出为空。- Returns:
- Comments SQL优化建议备注,可解析为String数组,无需优化时输出为空。
-
setComments
public void setComments(String Comments)
Set SQL优化建议备注,可解析为String数组,无需优化时输出为空。- Parameters:
Comments- SQL优化建议备注,可解析为String数组,无需优化时输出为空。
-
getSqlText
public String getSqlText()
Get SQL语句。- Returns:
- SqlText SQL语句。
-
setSqlText
public void setSqlText(String SqlText)
Set SQL语句。- Parameters:
SqlText- SQL语句。
-
getSchema
public String getSchema()
Get 库名。- Returns:
- Schema 库名。
-
setSchema
public void setSchema(String Schema)
Set 库名。- Parameters:
Schema- 库名。
-
getTables
public String getTables()
Get 相关表的DDL信息,可解析为JSON数组。- Returns:
- Tables 相关表的DDL信息,可解析为JSON数组。
-
setTables
public void setTables(String Tables)
Set 相关表的DDL信息,可解析为JSON数组。- Parameters:
Tables- 相关表的DDL信息,可解析为JSON数组。
-
getSqlPlan
public String getSqlPlan()
Get SQL执行计划,可解析为JSON,无需优化时输出为空。- Returns:
- SqlPlan SQL执行计划,可解析为JSON,无需优化时输出为空。
-
setSqlPlan
public void setSqlPlan(String SqlPlan)
Set SQL执行计划,可解析为JSON,无需优化时输出为空。- Parameters:
SqlPlan- SQL执行计划,可解析为JSON,无需优化时输出为空。
-
getCost
public String getCost()
Get SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。- Returns:
- Cost SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。
-
setCost
public void setCost(String Cost)
Set SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。- Parameters:
Cost- SQL优化后的成本节约详情,可解析为JSON,无需优化时输出为空。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-