Class SlowLogTopSqlItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.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 SOL模板的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 SOL模板的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 SOL模板的MD5值- Returns:
- Md5 SOL模板的MD5值
-
setMd5
public void setMd5(String Md5)
Set SOL模板的MD5值- Parameters:
Md5- SOL模板的MD5值
-
-