public class AuditLog extends AbstractModel
header, skipSign
Constructor and Description |
---|
AuditLog() |
AuditLog(AuditLog 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 |
getAffectRows()
Get Number of affected rows
|
Long |
getCheckRows()
Get Number of scanned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
Float |
getCpuTime()
Get CPU execution time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDBName()
Get
|
Long |
getErrCode()
Get The error code
|
Long |
getExecTime()
Get Execution time (μs)
|
String |
getHost()
Get Client address
|
Long |
getIoWaitTime()
Get IO wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getLockWaitTime()
Get Lock wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getNsTime()
Get Start time, which forms a time accurate to nanoseconds with·`timestamp`.
|
String |
getPolicyName()
Get Audit policy name, which will be unavailable soon.
|
Long |
getSentRows()
Get Number of returned rows
|
String |
getSql()
Get
|
String |
getSqlType()
Get
|
LogRuleTemplateInfo[] |
getTemplateInfo()
Get Basic information on the rule template hit by the log.
|
Long |
getThreadId()
Get Thread ID
|
String |
getTimestamp()
Get Time
|
Long |
getTrxLivingTime()
Get Transaction duration (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUser()
Get Username
|
void |
setAffectRows(Long AffectRows)
Set Number of affected rows
|
void |
setCheckRows(Long CheckRows)
Set Number of scanned rows
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCpuTime(Float CpuTime)
Set CPU execution time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDBName(String DBName)
Set
|
void |
setErrCode(Long ErrCode)
Set The error code
|
void |
setExecTime(Long ExecTime)
Set Execution time (μs)
|
void |
setHost(String Host)
Set Client address
|
void |
setIoWaitTime(Long IoWaitTime)
Set IO wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setLockWaitTime(Long LockWaitTime)
Set Lock wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNsTime(Long NsTime)
Set Start time, which forms a time accurate to nanoseconds with·`timestamp`.
|
void |
setPolicyName(String PolicyName)
Set Audit policy name, which will be unavailable soon.
|
void |
setSentRows(Long SentRows)
Set Number of returned rows
|
void |
setSql(String Sql)
Set
|
void |
setSqlType(String SqlType)
Set
|
void |
setTemplateInfo(LogRuleTemplateInfo[] TemplateInfo)
Set Basic information on the rule template hit by the log.
|
void |
setThreadId(Long ThreadId)
Set Thread ID
|
void |
setTimestamp(String Timestamp)
Set Time
|
void |
setTrxLivingTime(Long TrxLivingTime)
Set Transaction duration (μs)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUser(String User)
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 AuditLog()
public AuditLog(AuditLog source)
public Long getAffectRows()
public void setAffectRows(Long AffectRows)
AffectRows
- Number of affected rowspublic Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- The error codepublic String getSqlType()
public void setSqlType(String SqlType)
SqlType
- public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName
- Audit policy name, which will be unavailable soon.public String getDBName()
public void setDBName(String DBName)
DBName
- public String getSql()
public void setSql(String Sql)
Sql
- public String getHost()
public void setHost(String Host)
Host
- Client addresspublic String getUser()
public void setUser(String User)
User
- Usernamepublic Long getExecTime()
public void setExecTime(Long ExecTime)
ExecTime
- Execution time (μs)public String getTimestamp()
public void setTimestamp(String Timestamp)
Timestamp
- Timepublic Long getSentRows()
public void setSentRows(Long SentRows)
SentRows
- Number of returned rowspublic Long getThreadId()
public void setThreadId(Long ThreadId)
ThreadId
- Thread IDpublic Long getCheckRows()
public void setCheckRows(Long CheckRows)
CheckRows
- Number of scanned rows
Note: This field may return null, indicating that no valid values can be obtained.public Float getCpuTime()
public void setCpuTime(Float CpuTime)
CpuTime
- CPU execution time (μs)
Note: This field may return null, indicating that no valid values can be obtained.public Long getIoWaitTime()
public void setIoWaitTime(Long IoWaitTime)
IoWaitTime
- IO wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.public Long getLockWaitTime()
public void setLockWaitTime(Long LockWaitTime)
LockWaitTime
- Lock wait time (μs)
Note: This field may return null, indicating that no valid values can be obtained.public Long getNsTime()
public void setNsTime(Long NsTime)
NsTime
- Start time, which forms a time accurate to nanoseconds with·`timestamp`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getTrxLivingTime()
public void setTrxLivingTime(Long TrxLivingTime)
TrxLivingTime
- Transaction duration (μs)
Note: This field may return null, indicating that no valid values can be obtained.public LogRuleTemplateInfo[] getTemplateInfo()
public void setTemplateInfo(LogRuleTemplateInfo[] TemplateInfo)
TemplateInfo
- Basic information on the rule template hit by the log.
Note: The return value may be null, indicating that no valid data can be obtained.Copyright © 2024. All rights reserved.