public class SlowLogInfoItem extends AbstractModel
Constructor and Description |
---|
SlowLogInfoItem() |
SlowLogInfoItem(SlowLogInfoItem 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
|
Long |
getLockTime()
Get Lock time in seconds
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getQueryTime()
Get Execution time in seconds
|
Long |
getRowsExamined()
Get Number of scanned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getRowsSent()
Get Number of returned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSqlText()
Get SQL statement
|
String |
getTimestamp()
Get Slow log start time
|
String |
getUserHost()
Get IP source
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUserName()
Get User source
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDatabase(String Database)
Set Database
|
void |
setLockTime(Long LockTime)
Set Lock time in seconds
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setQueryTime(Long QueryTime)
Set Execution time in seconds
|
void |
setRowsExamined(Long RowsExamined)
Set Number of scanned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRowsSent(Long RowsSent)
Set Number of returned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSqlText(String SqlText)
Set SQL statement
|
void |
setTimestamp(String Timestamp)
Set Slow log start time
|
void |
setUserHost(String UserHost)
Set IP source
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUserName(String UserName)
Set User source
Note: This field may return null, indicating that no valid values can be obtained.
|
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 SlowLogInfoItem()
public SlowLogInfoItem(SlowLogInfoItem source)
public String getTimestamp()
public void setTimestamp(String Timestamp)
Timestamp
- Slow log start timepublic String getSqlText()
public void setSqlText(String SqlText)
SqlText
- SQL statementpublic String getDatabase()
public void setDatabase(String Database)
Database
- Databasepublic String getUserName()
public void setUserName(String UserName)
UserName
- User source
Note: This field may return null, indicating that no valid values can be obtained.public String getUserHost()
public void setUserHost(String UserHost)
UserHost
- IP source
Note: This field may return null, indicating that no valid values can be obtained.public Long getQueryTime()
public void setQueryTime(Long QueryTime)
QueryTime
- Execution time in secondspublic Long getLockTime()
public void setLockTime(Long LockTime)
LockTime
- Lock time 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 returned rows
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.