public class SlowQueriesItem extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatabase()
Get 数据库名
|
Float |
getLockTime()
Get 锁时长,单位秒
|
Float |
getQueryTime()
Get 执行时长,单位秒
|
Long |
getRowsExamined()
Get 扫描行数
|
Long |
getRowsSent()
Get 返回行数
|
String |
getSqlMd5()
Get sql语句md5
|
String |
getSqlTemplate()
Get sql模版
|
String |
getSqlText()
Get sql语句
|
Long |
getTimestamp()
Get 执行时间戳
|
String |
getUserHost()
Get 客户端host
|
String |
getUserName()
Get 用户名
|
void |
setDatabase(String Database)
Set 数据库名
|
void |
setLockTime(Float LockTime)
Set 锁时长,单位秒
|
void |
setQueryTime(Float QueryTime)
Set 执行时长,单位秒
|
void |
setRowsExamined(Long RowsExamined)
Set 扫描行数
|
void |
setRowsSent(Long RowsSent)
Set 返回行数
|
void |
setSqlMd5(String SqlMd5)
Set sql语句md5
|
void |
setSqlTemplate(String SqlTemplate)
Set sql模版
|
void |
setSqlText(String SqlText)
Set sql语句
|
void |
setTimestamp(Long Timestamp)
Set 执行时间戳
|
void |
setUserHost(String UserHost)
Set 客户端host
|
void |
setUserName(String UserName)
Set 用户名
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SlowQueriesItem()
public SlowQueriesItem(SlowQueriesItem source)
public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- 执行时间戳public Float getQueryTime()
public void setQueryTime(Float QueryTime)
QueryTime
- 执行时长,单位秒public String getSqlText()
public void setSqlText(String SqlText)
SqlText
- sql语句public String getUserHost()
public void setUserHost(String UserHost)
UserHost
- 客户端hostpublic String getUserName()
public void setUserName(String UserName)
UserName
- 用户名public String getDatabase()
public void setDatabase(String Database)
Database
- 数据库名public Float getLockTime()
public void setLockTime(Float LockTime)
LockTime
- 锁时长,单位秒public Long getRowsExamined()
public void setRowsExamined(Long RowsExamined)
RowsExamined
- 扫描行数public Long getRowsSent()
public void setRowsSent(Long RowsSent)
RowsSent
- 返回行数public String getSqlTemplate()
public void setSqlTemplate(String SqlTemplate)
SqlTemplate
- sql模版public String getSqlMd5()
public void setSqlMd5(String SqlMd5)
SqlMd5
- sql语句md5Copyright © 2023. All rights reserved.