public class SlowLogItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
SlowLogItem() |
SlowLogItem(SlowLogItem 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.
|
String |
getMd5()
Get SQL statement MD5.
|
Float |
getQueryTime()
Get SQL execution duration in seconds.
|
Long |
getRowsExamined()
Get Number of scanned rows.
|
Long |
getRowsSent()
Get Number of rows in result set.
|
String |
getSqlTemplate()
Get SQL template.
|
String |
getSqlText()
Get SQL statement.
|
Long |
getTimestamp()
Get SQL execution time.
|
String |
getUserHost()
Get Client address.
|
String |
getUserName()
Get Username.
|
void |
setDatabase(String Database)
Set Database name.
|
void |
setLockTime(Float LockTime)
Set Lock duration in seconds.
|
void |
setMd5(String Md5)
Set SQL statement MD5.
|
void |
setQueryTime(Float QueryTime)
Set SQL execution duration in seconds.
|
void |
setRowsExamined(Long RowsExamined)
Set Number of scanned rows.
|
void |
setRowsSent(Long RowsSent)
Set Number of rows in result set.
|
void |
setSqlTemplate(String SqlTemplate)
Set SQL template.
|
void |
setSqlText(String SqlText)
Set SQL statement.
|
void |
setTimestamp(Long Timestamp)
Set SQL execution time.
|
void |
setUserHost(String UserHost)
Set Client address.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SlowLogItem()
public SlowLogItem(SlowLogItem source)
public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- SQL execution time.
Note: this field may return null, indicating that no valid values can be obtained.public Float getQueryTime()
public void setQueryTime(Float QueryTime)
QueryTime
- SQL execution duration in seconds.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getSqlText()
public void setSqlText(String SqlText)
SqlText
- SQL statement.
Note: this field may return null, indicating that no valid values can be obtained.public String getUserHost()
public void setUserHost(String UserHost)
UserHost
- Client address.
Note: this field may return null, indicating that no valid values can be obtained.public String getUserName()
public void setUserName(String UserName)
UserName
- Username.
Note: this field may return null, indicating that no valid values can be obtained.public String getDatabase()
public void setDatabase(String Database)
Database
- Database name.
Note: this field may return null, indicating that no valid values can be obtained.public Float getLockTime()
public void setLockTime(Float LockTime)
LockTime
- Lock duration in seconds.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getRowsExamined()
public void setRowsExamined(Long RowsExamined)
RowsExamined
- Number of scanned rows.
Note: this field may return null, indicating that no valid values can be obtained.public Long getRowsSent()
public void setRowsSent(Long RowsSent)
RowsSent
- Number of rows in result set.
Note: this field may return null, indicating that no valid values can be obtained.public String getSqlTemplate()
public void setSqlTemplate(String SqlTemplate)
SqlTemplate
- SQL template.
Note: this field may return null, indicating that no valid values can be obtained.public String getMd5()
public void setMd5(String Md5)
Md5
- SQL statement MD5.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.