Class SlowQueriesItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cynosdb.v20190107.models.SlowQueriesItem
-
public class SlowQueriesItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SlowQueriesItem()SlowQueriesItem(SlowQueriesItem 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 StringgetDatabase()Get 数据库名FloatgetLockTime()Get 锁时长,单位秒FloatgetQueryTime()Get 执行时长,单位秒LonggetRowsExamined()Get 扫描行数LonggetRowsSent()Get 返回行数StringgetSqlMd5()Get sql语句md5StringgetSqlTemplate()Get sql模板StringgetSqlText()Get sql语句LonggetTimestamp()Get 执行时间戳StringgetUserHost()Get 客户端hostStringgetUserName()Get 用户名voidsetDatabase(String Database)Set 数据库名voidsetLockTime(Float LockTime)Set 锁时长,单位秒voidsetQueryTime(Float QueryTime)Set 执行时长,单位秒voidsetRowsExamined(Long RowsExamined)Set 扫描行数voidsetRowsSent(Long RowsSent)Set 返回行数voidsetSqlMd5(String SqlMd5)Set sql语句md5voidsetSqlTemplate(String SqlTemplate)Set sql模板voidsetSqlText(String SqlText)Set sql语句voidsetTimestamp(Long Timestamp)Set 执行时间戳voidsetUserHost(String UserHost)Set 客户端hostvoidsetUserName(String UserName)Set 用户名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
-
SlowQueriesItem
public SlowQueriesItem()
-
SlowQueriesItem
public SlowQueriesItem(SlowQueriesItem 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
-
getTimestamp
public Long getTimestamp()
Get 执行时间戳- Returns:
- Timestamp 执行时间戳
-
setTimestamp
public void setTimestamp(Long Timestamp)
Set 执行时间戳- Parameters:
Timestamp- 执行时间戳
-
getQueryTime
public Float getQueryTime()
Get 执行时长,单位秒- Returns:
- QueryTime 执行时长,单位秒
-
setQueryTime
public void setQueryTime(Float QueryTime)
Set 执行时长,单位秒- Parameters:
QueryTime- 执行时长,单位秒
-
getSqlText
public String getSqlText()
Get sql语句- Returns:
- SqlText sql语句
-
setSqlText
public void setSqlText(String SqlText)
Set sql语句- Parameters:
SqlText- sql语句
-
getUserHost
public String getUserHost()
Get 客户端host- Returns:
- UserHost 客户端host
-
setUserHost
public void setUserHost(String UserHost)
Set 客户端host- Parameters:
UserHost- 客户端host
-
getUserName
public String getUserName()
Get 用户名- Returns:
- UserName 用户名
-
setUserName
public void setUserName(String UserName)
Set 用户名- Parameters:
UserName- 用户名
-
getDatabase
public String getDatabase()
Get 数据库名- Returns:
- Database 数据库名
-
setDatabase
public void setDatabase(String Database)
Set 数据库名- Parameters:
Database- 数据库名
-
getLockTime
public Float getLockTime()
Get 锁时长,单位秒- Returns:
- LockTime 锁时长,单位秒
-
setLockTime
public void setLockTime(Float LockTime)
Set 锁时长,单位秒- Parameters:
LockTime- 锁时长,单位秒
-
getRowsExamined
public Long getRowsExamined()
Get 扫描行数- Returns:
- RowsExamined 扫描行数
-
setRowsExamined
public void setRowsExamined(Long RowsExamined)
Set 扫描行数- Parameters:
RowsExamined- 扫描行数
-
getRowsSent
public Long getRowsSent()
Get 返回行数- Returns:
- RowsSent 返回行数
-
setRowsSent
public void setRowsSent(Long RowsSent)
Set 返回行数- Parameters:
RowsSent- 返回行数
-
getSqlTemplate
public String getSqlTemplate()
Get sql模板- Returns:
- SqlTemplate sql模板
-
setSqlTemplate
public void setSqlTemplate(String SqlTemplate)
Set sql模板- Parameters:
SqlTemplate- sql模板
-
getSqlMd5
public String getSqlMd5()
Get sql语句md5- Returns:
- SqlMd5 sql语句md5
-
setSqlMd5
public void setSqlMd5(String SqlMd5)
Set sql语句md5- Parameters:
SqlMd5- sql语句md5
-
-