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 影响行数。 | 
| Long | getCheckRows()Get 扫描行数。 | 
| Float | getCpuTime()Get cpu执行时间,微秒。 | 
| String | getDBName()Get 数据库名称。 | 
| Long | getErrCode()Get 错误码。 | 
| Long | getExecTime()Get 执行时间,微秒。 | 
| String | getHost()Get 客户端地址。 | 
| Long | getIoWaitTime()Get IO等待时间,微秒。 | 
| Long | getLockWaitTime()Get 锁等待时间,微秒。 | 
| Long | getNsTime()Get 开始时间,与timestamp构成一个精确到纳秒的时间。 | 
| String | getPolicyName()Get 审计策略名称,逐步下线。 | 
| Long | getSentRows()Get 返回行数。 | 
| String | getSql()Get SQL 语句。 | 
| String | getSqlType()Get SQL 类型。 | 
| LogRuleTemplateInfo[] | getTemplateInfo()Get 日志命中规则模板的基本信息 | 
| Long | getThreadId()Get 线程ID。 | 
| String | getTimestamp()Get 时间。 | 
| Long | getTrxId()Get  事务ID | 
| Long | getTrxLivingTime()Get 事物持续时间,微秒。 | 
| String | getUser()Get 用户名。 | 
| void | setAffectRows(Long AffectRows)Set 影响行数。 | 
| void | setCheckRows(Long CheckRows)Set 扫描行数。 | 
| void | setCpuTime(Float CpuTime)Set cpu执行时间,微秒。 | 
| void | setDBName(String DBName)Set 数据库名称。 | 
| void | setErrCode(Long ErrCode)Set 错误码。 | 
| void | setExecTime(Long ExecTime)Set 执行时间,微秒。 | 
| void | setHost(String Host)Set 客户端地址。 | 
| void | setIoWaitTime(Long IoWaitTime)Set IO等待时间,微秒。 | 
| void | setLockWaitTime(Long LockWaitTime)Set 锁等待时间,微秒。 | 
| void | setNsTime(Long NsTime)Set 开始时间,与timestamp构成一个精确到纳秒的时间。 | 
| void | setPolicyName(String PolicyName)Set 审计策略名称,逐步下线。 | 
| void | setSentRows(Long SentRows)Set 返回行数。 | 
| void | setSql(String Sql)Set SQL 语句。 | 
| void | setSqlType(String SqlType)Set SQL 类型。 | 
| void | setTemplateInfo(LogRuleTemplateInfo[] TemplateInfo)Set 日志命中规则模板的基本信息 | 
| void | setThreadId(Long ThreadId)Set 线程ID。 | 
| void | setTimestamp(String Timestamp)Set 时间。 | 
| void | setTrxId(Long TrxId)Set  事务ID | 
| void | setTrxLivingTime(Long TrxLivingTime)Set 事物持续时间,微秒。 | 
| void | setUser(String User)Set 用户名。 | 
| 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 AuditLog()
public AuditLog(AuditLog source)
public Long getAffectRows()
public void setAffectRows(Long AffectRows)
AffectRows - 影响行数。public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode - 错误码。public String getSqlType()
public void setSqlType(String SqlType)
SqlType - SQL 类型。public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - 审计策略名称,逐步下线。public String getDBName()
public void setDBName(String DBName)
DBName - 数据库名称。public String getSql()
public void setSql(String Sql)
Sql - SQL 语句。public String getHost()
public void setHost(String Host)
Host - 客户端地址。public String getUser()
public void setUser(String User)
User - 用户名。public Long getExecTime()
public void setExecTime(Long ExecTime)
ExecTime - 执行时间,微秒。public String getTimestamp()
public void setTimestamp(String Timestamp)
Timestamp - 时间。public Long getSentRows()
public void setSentRows(Long SentRows)
SentRows - 返回行数。public Long getThreadId()
public void setThreadId(Long ThreadId)
ThreadId - 线程ID。public Long getCheckRows()
public void setCheckRows(Long CheckRows)
CheckRows - 扫描行数。public Float getCpuTime()
public void setCpuTime(Float CpuTime)
CpuTime - cpu执行时间,微秒。public Long getIoWaitTime()
public void setIoWaitTime(Long IoWaitTime)
IoWaitTime - IO等待时间,微秒。public Long getLockWaitTime()
public void setLockWaitTime(Long LockWaitTime)
LockWaitTime - 锁等待时间,微秒。public Long getNsTime()
public void setNsTime(Long NsTime)
NsTime - 开始时间,与timestamp构成一个精确到纳秒的时间。public Long getTrxLivingTime()
public void setTrxLivingTime(Long TrxLivingTime)
TrxLivingTime - 事物持续时间,微秒。public LogRuleTemplateInfo[] getTemplateInfo()
public void setTemplateInfo(LogRuleTemplateInfo[] TemplateInfo)
TemplateInfo - 日志命中规则模板的基本信息public Long getTrxId()
public void setTrxId(Long TrxId)
TrxId - 事务IDCopyright © 2025. All rights reserved.