public class SlowQueriesItem extends AbstractModel
header, skipSign| 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 |
getSyncReadBytesRemote()
Get Number of remote read bytes.
|
Long |
getSyncReadCountRemote()
Get Remote reading count.
|
Long |
getSyncReadTimeRemote()
Get Time spent on remote reads (µs).
|
Long |
getSyncWriteBytesRemote()
Get Specifies the number of remote written bytes.
|
Long |
getSyncWriteCountRemote()
Get Remote write count.
|
Long |
getSyncWriteTimeRemote()
Get Time spent on remote writing (µs).
|
Long |
getTimestamp()
Get Execution timestamp
|
Long |
getTrxCommitDelay()
Get Transaction submission delay (µs).
|
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 |
setSyncReadBytesRemote(Long SyncReadBytesRemote)
Set Number of remote read bytes.
|
void |
setSyncReadCountRemote(Long SyncReadCountRemote)
Set Remote reading count.
|
void |
setSyncReadTimeRemote(Long SyncReadTimeRemote)
Set Time spent on remote reads (µs).
|
void |
setSyncWriteBytesRemote(Long SyncWriteBytesRemote)
Set Specifies the number of remote written bytes.
|
void |
setSyncWriteCountRemote(Long SyncWriteCountRemote)
Set Remote write count.
|
void |
setSyncWriteTimeRemote(Long SyncWriteTimeRemote)
Set Time spent on remote writing (µs).
|
void |
setTimestamp(Long Timestamp)
Set Execution timestamp
|
void |
setTrxCommitDelay(Long TrxCommitDelay)
Set Transaction submission delay (µs).
|
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic 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 statementpublic Long getSyncReadCountRemote()
public void setSyncReadCountRemote(Long SyncReadCountRemote)
SyncReadCountRemote - Remote reading count.
Specifies that the database kernel version is larger than 3.1.12.public Long getSyncReadBytesRemote()
public void setSyncReadBytesRemote(Long SyncReadBytesRemote)
SyncReadBytesRemote - Number of remote read bytes.
Specifies that the database kernel version is larger than 3.1.12.public Long getSyncReadTimeRemote()
public void setSyncReadTimeRemote(Long SyncReadTimeRemote)
SyncReadTimeRemote - Time spent on remote reads (µs).
Specifies that the database kernel version is larger than 3.1.12.public Long getSyncWriteCountRemote()
public void setSyncWriteCountRemote(Long SyncWriteCountRemote)
SyncWriteCountRemote - Remote write count.
Specifies that the database kernel version is larger than 3.1.12.public Long getSyncWriteBytesRemote()
public void setSyncWriteBytesRemote(Long SyncWriteBytesRemote)
SyncWriteBytesRemote - Specifies the number of remote written bytes.
Specifies that the database kernel version is larger than 3.1.12.public Long getSyncWriteTimeRemote()
public void setSyncWriteTimeRemote(Long SyncWriteTimeRemote)
SyncWriteTimeRemote - Time spent on remote writing (µs).
Specifies that the database kernel version is larger than 3.1.12.public Long getTrxCommitDelay()
public void setTrxCommitDelay(Long TrxCommitDelay)
TrxCommitDelay - Transaction submission delay (µs).
Specifies that the database kernel version is larger than 3.1.12.Copyright © 2025. All rights reserved.