public class AuditLogFilter extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AuditLogFilter() |
AuditLogFilter(AuditLogFilter 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 影响行数。表示筛选影响行数大于该值的审计日志。
|
String |
getAffectRowsSection()
Get 影响行数,格式为M-N,例如:10-200
|
String[] |
getDBName()
Get 数据库名称。
|
Long[] |
getErrCode()
Get mysql错误码
|
Long |
getExecTime()
Get 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。
|
String |
getExecTimeSection()
Get 执行时间,格式为M-N,例如:10-200
|
String[] |
getHost()
Get 客户端地址。
|
String |
getIoWaitTimeSection()
Get IO等待时间,格式为M-N,例如:10-200
|
String |
getLockWaitTimeSection()
Get 锁等待时间,格式为M-N,例如:10-200
|
String[] |
getPolicyName()
Get 审计策略名称。
|
Long |
getSentRows()
Get 返回行数。表示筛选返回行数大于该值的审计日志。
|
String |
getSentRowsSection()
Get 返回行数,格式为M-N,例如:10-200
|
String |
getSql()
Get SQL 语句。支持模糊匹配。
|
String[] |
getSqls()
Get SQL 语句。支持传递多个sql语句。
|
String |
getSqlType()
Get SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
|
String[] |
getSqlTypes()
Get SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
|
String[] |
getTableName()
Get 表名称。
|
String[] |
getThreadId()
Get 线程ID
|
String |
getTransactionLivingTimeSection()
Get 事务持续时间,格式为M-N,例如:10-200
|
String[] |
getUser()
Get 用户名。
|
void |
setAffectRows(Long AffectRows)
Set 影响行数。表示筛选影响行数大于该值的审计日志。
|
void |
setAffectRowsSection(String AffectRowsSection)
Set 影响行数,格式为M-N,例如:10-200
|
void |
setDBName(String[] DBName)
Set 数据库名称。
|
void |
setErrCode(Long[] ErrCode)
Set mysql错误码
|
void |
setExecTime(Long ExecTime)
Set 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。
|
void |
setExecTimeSection(String ExecTimeSection)
Set 执行时间,格式为M-N,例如:10-200
|
void |
setHost(String[] Host)
Set 客户端地址。
|
void |
setIoWaitTimeSection(String IoWaitTimeSection)
Set IO等待时间,格式为M-N,例如:10-200
|
void |
setLockWaitTimeSection(String LockWaitTimeSection)
Set 锁等待时间,格式为M-N,例如:10-200
|
void |
setPolicyName(String[] PolicyName)
Set 审计策略名称。
|
void |
setSentRows(Long SentRows)
Set 返回行数。表示筛选返回行数大于该值的审计日志。
|
void |
setSentRowsSection(String SentRowsSection)
Set 返回行数,格式为M-N,例如:10-200
|
void |
setSql(String Sql)
Set SQL 语句。支持模糊匹配。
|
void |
setSqls(String[] Sqls)
Set SQL 语句。支持传递多个sql语句。
|
void |
setSqlType(String SqlType)
Set SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
|
void |
setSqlTypes(String[] SqlTypes)
Set SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
|
void |
setTableName(String[] TableName)
Set 表名称。
|
void |
setThreadId(String[] ThreadId)
Set 线程ID
|
void |
setTransactionLivingTimeSection(String TransactionLivingTimeSection)
Set 事务持续时间,格式为M-N,例如:10-200
|
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 AuditLogFilter()
public AuditLogFilter(AuditLogFilter source)
public String[] getHost()
public void setHost(String[] Host)
Host - 客户端地址。public String[] getUser()
public void setUser(String[] User)
User - 用户名。public String[] getDBName()
public void setDBName(String[] DBName)
DBName - 数据库名称。public String[] getTableName()
public void setTableName(String[] TableName)
TableName - 表名称。public String[] getPolicyName()
public void setPolicyName(String[] PolicyName)
PolicyName - 审计策略名称。public String getSql()
public void setSql(String Sql)
Sql - SQL 语句。支持模糊匹配。public String getSqlType()
public void setSqlType(String SqlType)
SqlType - SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。public Long getExecTime()
public void setExecTime(Long ExecTime)
ExecTime - 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。public Long getAffectRows()
public void setAffectRows(Long AffectRows)
AffectRows - 影响行数。表示筛选影响行数大于该值的审计日志。public String[] getSqlTypes()
public void setSqlTypes(String[] SqlTypes)
SqlTypes - SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。public String[] getSqls()
public void setSqls(String[] Sqls)
Sqls - SQL 语句。支持传递多个sql语句。public String getAffectRowsSection()
public void setAffectRowsSection(String AffectRowsSection)
AffectRowsSection - 影响行数,格式为M-N,例如:10-200public String getSentRowsSection()
public void setSentRowsSection(String SentRowsSection)
SentRowsSection - 返回行数,格式为M-N,例如:10-200public String getExecTimeSection()
public void setExecTimeSection(String ExecTimeSection)
ExecTimeSection - 执行时间,格式为M-N,例如:10-200public String getLockWaitTimeSection()
public void setLockWaitTimeSection(String LockWaitTimeSection)
LockWaitTimeSection - 锁等待时间,格式为M-N,例如:10-200public String getIoWaitTimeSection()
public void setIoWaitTimeSection(String IoWaitTimeSection)
IoWaitTimeSection - IO等待时间,格式为M-N,例如:10-200public String getTransactionLivingTimeSection()
public void setTransactionLivingTimeSection(String TransactionLivingTimeSection)
TransactionLivingTimeSection - 事务持续时间,格式为M-N,例如:10-200public String[] getThreadId()
public void setThreadId(String[] ThreadId)
ThreadId - 线程IDpublic Long getSentRows()
public void setSentRows(Long SentRows)
SentRows - 返回行数。表示筛选返回行数大于该值的审计日志。public Long[] getErrCode()
public void setErrCode(Long[] ErrCode)
ErrCode - mysql错误码Copyright © 2024. All rights reserved.