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 Database name
|
Float |
getLockTime()
Get Lock duration in seconds
|
Float |
getQueryTime()
Get Execution duration in seconds
|
Long |
getRowsExamined()
Get Number of scanned rows
|
Long |
getRowsSent()
Get Number of returned rows
|
String |
getSqlMd5()
Get MD5 value of the SQL statement
|
String |
getSqlTemplate()
Get SQL template
|
String |
getSqlText()
Get SQL statement
|
Long |
getTimestamp()
Get Execution timestamp
|
String |
getUserHost()
Get Client host
|
String |
getUserName()
Get Username
|
void |
setDatabase(String Database)
Set Database name
|
void |
setLockTime(Float LockTime)
Set Lock duration in seconds
|
void |
setQueryTime(Float QueryTime)
Set Execution duration in seconds
|
void |
setRowsExamined(Long RowsExamined)
Set Number of scanned rows
|
void |
setRowsSent(Long RowsSent)
Set Number of returned rows
|
void |
setSqlMd5(String SqlMd5)
Set MD5 value of the SQL statement
|
void |
setSqlTemplate(String SqlTemplate)
Set SQL template
|
void |
setSqlText(String SqlText)
Set SQL statement
|
void |
setTimestamp(Long Timestamp)
Set Execution timestamp
|
void |
setUserHost(String UserHost)
Set Client host
|
void |
setUserName(String UserName)
Set Username
|
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
- Execution timestamppublic Float getQueryTime()
public void setQueryTime(Float QueryTime)
QueryTime
- Execution duration in secondspublic String getSqlText()
public void setSqlText(String SqlText)
SqlText
- SQL statementpublic String getUserHost()
public void setUserHost(String UserHost)
UserHost
- Client hostpublic String getUserName()
public void setUserName(String UserName)
UserName
- Usernamepublic String getDatabase()
public void setDatabase(String Database)
Database
- Database namepublic Float getLockTime()
public void setLockTime(Float LockTime)
LockTime
- Lock duration in secondspublic Long getRowsExamined()
public void setRowsExamined(Long RowsExamined)
RowsExamined
- Number of scanned rowspublic Long getRowsSent()
public void setRowsSent(Long RowsSent)
RowsSent
- Number of returned rowspublic String getSqlTemplate()
public void setSqlTemplate(String SqlTemplate)
SqlTemplate
- SQL templatepublic String getSqlMd5()
public void setSqlMd5(String SqlMd5)
SqlMd5
- MD5 value of the SQL statementCopyright © 2023. All rights reserved.