public class SlowLogTopSqlItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
SlowLogTopSqlItem() |
SlowLogTopSqlItem(SlowLogTopSqlItem 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 |
---|---|
Long |
getExecTimes()
Get Number of executions
|
Float |
getLockTime()
Get Total SQL lock wait time in seconds.
|
Float |
getLockTimeAvg()
Get Average lock wait time in seconds
|
Float |
getLockTimeMax()
Get Maximum lock wait time in seconds
|
Float |
getLockTimeMin()
Get Minimum lock wait time in seconds
|
Float |
getLockTimeRatio()
Get Ratio of the total SQL lock wait time in %
|
String |
getMd5()
Get MD5 value of the SQL template
|
Float |
getQueryTime()
Get Total duration in seconds
|
Float |
getQueryTimeAvg()
Get Average execution time in seconds
|
Float |
getQueryTimeMax()
Get Maximum execution time in seconds
|
Float |
getQueryTimeMin()
Get Minimum execution time in seconds
|
Float |
getQueryTimeRatio()
Get Ratio of the total duration in %
|
Long |
getRowsExamined()
Get Total number of scanned rows
|
Float |
getRowsExaminedAvg()
Get Average number of scanned rows
|
Long |
getRowsExaminedMax()
Get Maximum number of scanned rows
|
Long |
getRowsExaminedMin()
Get Minimum number of scanned rows
|
Float |
getRowsExaminedRatio()
Get Ratio of total number of scanned rows in %
|
Long |
getRowsSent()
Get Total number of returned rows
|
Float |
getRowsSentAvg()
Get Average number of returned rows
|
Long |
getRowsSentMax()
Get Maximum number of returned rows
|
Long |
getRowsSentMin()
Get Minimum number of returned rows
|
Float |
getRowsSentRatio()
Get Ratio of total number of returned rows in %
|
String |
getSchema()
Get Database name
|
String |
getSqlTemplate()
Get SQL template
|
String |
getSqlText()
Get SQL statements with parameter (random)
|
void |
setExecTimes(Long ExecTimes)
Set Number of executions
|
void |
setLockTime(Float LockTime)
Set Total SQL lock wait time in seconds.
|
void |
setLockTimeAvg(Float LockTimeAvg)
Set Average lock wait time in seconds
|
void |
setLockTimeMax(Float LockTimeMax)
Set Maximum lock wait time in seconds
|
void |
setLockTimeMin(Float LockTimeMin)
Set Minimum lock wait time in seconds
|
void |
setLockTimeRatio(Float LockTimeRatio)
Set Ratio of the total SQL lock wait time in %
|
void |
setMd5(String Md5)
Set MD5 value of the SQL template
|
void |
setQueryTime(Float QueryTime)
Set Total duration in seconds
|
void |
setQueryTimeAvg(Float QueryTimeAvg)
Set Average execution time in seconds
|
void |
setQueryTimeMax(Float QueryTimeMax)
Set Maximum execution time in seconds
|
void |
setQueryTimeMin(Float QueryTimeMin)
Set Minimum execution time in seconds
|
void |
setQueryTimeRatio(Float QueryTimeRatio)
Set Ratio of the total duration in %
|
void |
setRowsExamined(Long RowsExamined)
Set Total number of scanned rows
|
void |
setRowsExaminedAvg(Float RowsExaminedAvg)
Set Average number of scanned rows
|
void |
setRowsExaminedMax(Long RowsExaminedMax)
Set Maximum number of scanned rows
|
void |
setRowsExaminedMin(Long RowsExaminedMin)
Set Minimum number of scanned rows
|
void |
setRowsExaminedRatio(Float RowsExaminedRatio)
Set Ratio of total number of scanned rows in %
|
void |
setRowsSent(Long RowsSent)
Set Total number of returned rows
|
void |
setRowsSentAvg(Float RowsSentAvg)
Set Average number of returned rows
|
void |
setRowsSentMax(Long RowsSentMax)
Set Maximum number of returned rows
|
void |
setRowsSentMin(Long RowsSentMin)
Set Minimum number of returned rows
|
void |
setRowsSentRatio(Float RowsSentRatio)
Set Ratio of total number of returned rows in %
|
void |
setSchema(String Schema)
Set Database name
|
void |
setSqlTemplate(String SqlTemplate)
Set SQL template
|
void |
setSqlText(String SqlText)
Set SQL statements with parameter (random)
|
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 SlowLogTopSqlItem()
public SlowLogTopSqlItem(SlowLogTopSqlItem source)
public Float getLockTime()
public void setLockTime(Float LockTime)
LockTime
- Total SQL lock wait time in seconds.public Float getLockTimeMax()
public void setLockTimeMax(Float LockTimeMax)
LockTimeMax
- Maximum lock wait time in secondspublic Float getLockTimeMin()
public void setLockTimeMin(Float LockTimeMin)
LockTimeMin
- Minimum lock wait time in secondspublic Long getRowsExamined()
public void setRowsExamined(Long RowsExamined)
RowsExamined
- Total number of scanned rowspublic Long getRowsExaminedMax()
public void setRowsExaminedMax(Long RowsExaminedMax)
RowsExaminedMax
- Maximum number of scanned rowspublic Long getRowsExaminedMin()
public void setRowsExaminedMin(Long RowsExaminedMin)
RowsExaminedMin
- Minimum number of scanned rowspublic Float getQueryTime()
public void setQueryTime(Float QueryTime)
QueryTime
- Total duration in secondspublic Float getQueryTimeMax()
public void setQueryTimeMax(Float QueryTimeMax)
QueryTimeMax
- Maximum execution time in secondspublic Float getQueryTimeMin()
public void setQueryTimeMin(Float QueryTimeMin)
QueryTimeMin
- Minimum execution time in secondspublic Long getRowsSent()
public void setRowsSent(Long RowsSent)
RowsSent
- Total number of returned rowspublic Long getRowsSentMax()
public void setRowsSentMax(Long RowsSentMax)
RowsSentMax
- Maximum number of returned rowspublic Long getRowsSentMin()
public void setRowsSentMin(Long RowsSentMin)
RowsSentMin
- Minimum number of returned rowspublic Long getExecTimes()
public void setExecTimes(Long ExecTimes)
ExecTimes
- Number of executionspublic String getSqlTemplate()
public void setSqlTemplate(String SqlTemplate)
SqlTemplate
- SQL templatepublic String getSqlText()
public void setSqlText(String SqlText)
SqlText
- SQL statements with parameter (random)public String getSchema()
public void setSchema(String Schema)
Schema
- Database namepublic Float getQueryTimeRatio()
public void setQueryTimeRatio(Float QueryTimeRatio)
QueryTimeRatio
- Ratio of the total duration in %public Float getLockTimeRatio()
public void setLockTimeRatio(Float LockTimeRatio)
LockTimeRatio
- Ratio of the total SQL lock wait time in %public Float getRowsExaminedRatio()
public void setRowsExaminedRatio(Float RowsExaminedRatio)
RowsExaminedRatio
- Ratio of total number of scanned rows in %public Float getRowsSentRatio()
public void setRowsSentRatio(Float RowsSentRatio)
RowsSentRatio
- Ratio of total number of returned rows in %public Float getQueryTimeAvg()
public void setQueryTimeAvg(Float QueryTimeAvg)
QueryTimeAvg
- Average execution time in secondspublic Float getRowsSentAvg()
public void setRowsSentAvg(Float RowsSentAvg)
RowsSentAvg
- Average number of returned rowspublic Float getLockTimeAvg()
public void setLockTimeAvg(Float LockTimeAvg)
LockTimeAvg
- Average lock wait time in secondspublic Float getRowsExaminedAvg()
public void setRowsExaminedAvg(Float RowsExaminedAvg)
RowsExaminedAvg
- Average number of scanned rowspublic String getMd5()
public void setMd5(String Md5)
Md5
- MD5 value of the SQL templateCopyright © 2024. All rights reserved.