Class SlowLogTopSqlItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.SlowLogTopSqlItem
-
public class SlowLogTopSqlItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SlowLogTopSqlItem()SlowLogTopSqlItem(SlowLogTopSqlItem 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 LonggetExecTimes()Get 执行次数FloatgetLockTime()Get sql总锁等待时间,单位秒FloatgetLockTimeAvg()Get 平均锁等待时间,单位秒FloatgetLockTimeMax()Get 最大锁等待时间,单位秒FloatgetLockTimeMin()Get 最小锁等待时间,单位秒FloatgetLockTimeRatio()Get sql总锁等待时间占比,单位%StringgetMd5()Get SQL模板的MD5值FloatgetQueryTime()Get 总耗时,单位秒FloatgetQueryTimeAvg()Get 平均执行时间,单位秒FloatgetQueryTimeMax()Get 最大执行时间,单位秒FloatgetQueryTimeMin()Get 最小执行时间,单位秒FloatgetQueryTimeRatio()Get 总耗时占比,单位%LonggetRowsExamined()Get 总扫描行数FloatgetRowsExaminedAvg()Get 平均扫描行数LonggetRowsExaminedMax()Get 最大扫描行数LonggetRowsExaminedMin()Get 最小扫描行数FloatgetRowsExaminedRatio()Get 总扫描行数占比,单位%LonggetRowsSent()Get 总返回行数FloatgetRowsSentAvg()Get 平均返回行数LonggetRowsSentMax()Get 最大返回行数LonggetRowsSentMin()Get 最小返回行数FloatgetRowsSentRatio()Get 总返回行数占比,单位%StringgetSchema()Get 数据库名StringgetSqlTemplate()Get sql模板StringgetSqlText()Get 带参数SQL(随机)voidsetExecTimes(Long ExecTimes)Set 执行次数voidsetLockTime(Float LockTime)Set sql总锁等待时间,单位秒voidsetLockTimeAvg(Float LockTimeAvg)Set 平均锁等待时间,单位秒voidsetLockTimeMax(Float LockTimeMax)Set 最大锁等待时间,单位秒voidsetLockTimeMin(Float LockTimeMin)Set 最小锁等待时间,单位秒voidsetLockTimeRatio(Float LockTimeRatio)Set sql总锁等待时间占比,单位%voidsetMd5(String Md5)Set SQL模板的MD5值voidsetQueryTime(Float QueryTime)Set 总耗时,单位秒voidsetQueryTimeAvg(Float QueryTimeAvg)Set 平均执行时间,单位秒voidsetQueryTimeMax(Float QueryTimeMax)Set 最大执行时间,单位秒voidsetQueryTimeMin(Float QueryTimeMin)Set 最小执行时间,单位秒voidsetQueryTimeRatio(Float QueryTimeRatio)Set 总耗时占比,单位%voidsetRowsExamined(Long RowsExamined)Set 总扫描行数voidsetRowsExaminedAvg(Float RowsExaminedAvg)Set 平均扫描行数voidsetRowsExaminedMax(Long RowsExaminedMax)Set 最大扫描行数voidsetRowsExaminedMin(Long RowsExaminedMin)Set 最小扫描行数voidsetRowsExaminedRatio(Float RowsExaminedRatio)Set 总扫描行数占比,单位%voidsetRowsSent(Long RowsSent)Set 总返回行数voidsetRowsSentAvg(Float RowsSentAvg)Set 平均返回行数voidsetRowsSentMax(Long RowsSentMax)Set 最大返回行数voidsetRowsSentMin(Long RowsSentMin)Set 最小返回行数voidsetRowsSentRatio(Float RowsSentRatio)Set 总返回行数占比,单位%voidsetSchema(String Schema)Set 数据库名voidsetSqlTemplate(String SqlTemplate)Set sql模板voidsetSqlText(String SqlText)Set 带参数SQL(随机)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
-
SlowLogTopSqlItem
public SlowLogTopSqlItem()
-
SlowLogTopSqlItem
public SlowLogTopSqlItem(SlowLogTopSqlItem 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
-
getLockTime
public Float getLockTime()
Get sql总锁等待时间,单位秒- Returns:
- LockTime sql总锁等待时间,单位秒
-
setLockTime
public void setLockTime(Float LockTime)
Set sql总锁等待时间,单位秒- Parameters:
LockTime- sql总锁等待时间,单位秒
-
getLockTimeMax
public Float getLockTimeMax()
Get 最大锁等待时间,单位秒- Returns:
- LockTimeMax 最大锁等待时间,单位秒
-
setLockTimeMax
public void setLockTimeMax(Float LockTimeMax)
Set 最大锁等待时间,单位秒- Parameters:
LockTimeMax- 最大锁等待时间,单位秒
-
getLockTimeMin
public Float getLockTimeMin()
Get 最小锁等待时间,单位秒- Returns:
- LockTimeMin 最小锁等待时间,单位秒
-
setLockTimeMin
public void setLockTimeMin(Float LockTimeMin)
Set 最小锁等待时间,单位秒- Parameters:
LockTimeMin- 最小锁等待时间,单位秒
-
getRowsExamined
public Long getRowsExamined()
Get 总扫描行数- Returns:
- RowsExamined 总扫描行数
-
setRowsExamined
public void setRowsExamined(Long RowsExamined)
Set 总扫描行数- Parameters:
RowsExamined- 总扫描行数
-
getRowsExaminedMax
public Long getRowsExaminedMax()
Get 最大扫描行数- Returns:
- RowsExaminedMax 最大扫描行数
-
setRowsExaminedMax
public void setRowsExaminedMax(Long RowsExaminedMax)
Set 最大扫描行数- Parameters:
RowsExaminedMax- 最大扫描行数
-
getRowsExaminedMin
public Long getRowsExaminedMin()
Get 最小扫描行数- Returns:
- RowsExaminedMin 最小扫描行数
-
setRowsExaminedMin
public void setRowsExaminedMin(Long RowsExaminedMin)
Set 最小扫描行数- Parameters:
RowsExaminedMin- 最小扫描行数
-
getQueryTime
public Float getQueryTime()
Get 总耗时,单位秒- Returns:
- QueryTime 总耗时,单位秒
-
setQueryTime
public void setQueryTime(Float QueryTime)
Set 总耗时,单位秒- Parameters:
QueryTime- 总耗时,单位秒
-
getQueryTimeMax
public Float getQueryTimeMax()
Get 最大执行时间,单位秒- Returns:
- QueryTimeMax 最大执行时间,单位秒
-
setQueryTimeMax
public void setQueryTimeMax(Float QueryTimeMax)
Set 最大执行时间,单位秒- Parameters:
QueryTimeMax- 最大执行时间,单位秒
-
getQueryTimeMin
public Float getQueryTimeMin()
Get 最小执行时间,单位秒- Returns:
- QueryTimeMin 最小执行时间,单位秒
-
setQueryTimeMin
public void setQueryTimeMin(Float QueryTimeMin)
Set 最小执行时间,单位秒- Parameters:
QueryTimeMin- 最小执行时间,单位秒
-
getRowsSent
public Long getRowsSent()
Get 总返回行数- Returns:
- RowsSent 总返回行数
-
setRowsSent
public void setRowsSent(Long RowsSent)
Set 总返回行数- Parameters:
RowsSent- 总返回行数
-
getRowsSentMax
public Long getRowsSentMax()
Get 最大返回行数- Returns:
- RowsSentMax 最大返回行数
-
setRowsSentMax
public void setRowsSentMax(Long RowsSentMax)
Set 最大返回行数- Parameters:
RowsSentMax- 最大返回行数
-
getRowsSentMin
public Long getRowsSentMin()
Get 最小返回行数- Returns:
- RowsSentMin 最小返回行数
-
setRowsSentMin
public void setRowsSentMin(Long RowsSentMin)
Set 最小返回行数- Parameters:
RowsSentMin- 最小返回行数
-
getExecTimes
public Long getExecTimes()
Get 执行次数- Returns:
- ExecTimes 执行次数
-
setExecTimes
public void setExecTimes(Long ExecTimes)
Set 执行次数- Parameters:
ExecTimes- 执行次数
-
getSqlTemplate
public String getSqlTemplate()
Get sql模板- Returns:
- SqlTemplate sql模板
-
setSqlTemplate
public void setSqlTemplate(String SqlTemplate)
Set sql模板- Parameters:
SqlTemplate- sql模板
-
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- 数据库名
-
getQueryTimeRatio
public Float getQueryTimeRatio()
Get 总耗时占比,单位%- Returns:
- QueryTimeRatio 总耗时占比,单位%
-
setQueryTimeRatio
public void setQueryTimeRatio(Float QueryTimeRatio)
Set 总耗时占比,单位%- Parameters:
QueryTimeRatio- 总耗时占比,单位%
-
getLockTimeRatio
public Float getLockTimeRatio()
Get sql总锁等待时间占比,单位%- Returns:
- LockTimeRatio sql总锁等待时间占比,单位%
-
setLockTimeRatio
public void setLockTimeRatio(Float LockTimeRatio)
Set sql总锁等待时间占比,单位%- Parameters:
LockTimeRatio- sql总锁等待时间占比,单位%
-
getRowsExaminedRatio
public Float getRowsExaminedRatio()
Get 总扫描行数占比,单位%- Returns:
- RowsExaminedRatio 总扫描行数占比,单位%
-
setRowsExaminedRatio
public void setRowsExaminedRatio(Float RowsExaminedRatio)
Set 总扫描行数占比,单位%- Parameters:
RowsExaminedRatio- 总扫描行数占比,单位%
-
getRowsSentRatio
public Float getRowsSentRatio()
Get 总返回行数占比,单位%- Returns:
- RowsSentRatio 总返回行数占比,单位%
-
setRowsSentRatio
public void setRowsSentRatio(Float RowsSentRatio)
Set 总返回行数占比,单位%- Parameters:
RowsSentRatio- 总返回行数占比,单位%
-
getQueryTimeAvg
public Float getQueryTimeAvg()
Get 平均执行时间,单位秒- Returns:
- QueryTimeAvg 平均执行时间,单位秒
-
setQueryTimeAvg
public void setQueryTimeAvg(Float QueryTimeAvg)
Set 平均执行时间,单位秒- Parameters:
QueryTimeAvg- 平均执行时间,单位秒
-
getRowsSentAvg
public Float getRowsSentAvg()
Get 平均返回行数- Returns:
- RowsSentAvg 平均返回行数
-
setRowsSentAvg
public void setRowsSentAvg(Float RowsSentAvg)
Set 平均返回行数- Parameters:
RowsSentAvg- 平均返回行数
-
getLockTimeAvg
public Float getLockTimeAvg()
Get 平均锁等待时间,单位秒- Returns:
- LockTimeAvg 平均锁等待时间,单位秒
-
setLockTimeAvg
public void setLockTimeAvg(Float LockTimeAvg)
Set 平均锁等待时间,单位秒- Parameters:
LockTimeAvg- 平均锁等待时间,单位秒
-
getRowsExaminedAvg
public Float getRowsExaminedAvg()
Get 平均扫描行数- Returns:
- RowsExaminedAvg 平均扫描行数
-
setRowsExaminedAvg
public void setRowsExaminedAvg(Float RowsExaminedAvg)
Set 平均扫描行数- Parameters:
RowsExaminedAvg- 平均扫描行数
-
getMd5
public String getMd5()
Get SQL模板的MD5值- Returns:
- Md5 SQL模板的MD5值
-
setMd5
public void setMd5(String Md5)
Set SQL模板的MD5值- Parameters:
Md5- SQL模板的MD5值
-
-