public static class ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
affectRows
The number of rows affected by the SQL statement.
|
Long |
dbId
The ID of the database.
|
Long |
elapsedTime
The amount of time consumed by the execution of the SQL statement.
|
String |
execState
The execution status of the SQL statement.
|
Long |
instanceId
The ID of the instance.
|
String |
instanceName
The name of the database.
|
Boolean |
logic
Indicates whether the database is a logical database.
|
String |
opTime
The time when the operation specified by the SQL statement was performed on the instance or database.
|
String |
remark
The comment on the SQL statement.
|
String |
schemaName
The name of the database.
|
String |
SQL
The SQL statement that was written.
|
String |
SQLType
The type of the SQL statement.
|
Long |
userId
The ID of the user who wrote the SQL statement.
|
String |
userName
The nickname of the user who wrote the SQL statement.
|
| 构造器和说明 |
|---|
ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog() |
@NameInMap(value="AffectRows") public Long affectRows
The number of rows affected by the SQL statement. For example, if you execute an SQL statement to query data, the number of retrieved rows is returned.
example:2
@NameInMap(value="DbId") public Long dbId
The ID of the database.
example:2157****
@NameInMap(value="ElapsedTime") public Long elapsedTime
The amount of time consumed by the execution of the SQL statement. Unit: milliseconds.
example:18
@NameInMap(value="ExecState") public String execState
The execution status of the SQL statement. Valid values:
SUCCESS
@NameInMap(value="InstanceId") public Long instanceId
The ID of the instance.
example:185***
@NameInMap(value="InstanceName") public String instanceName
The name of the database.
example:If the SQL statement takes effect on an instance, the name of the instance is returned.
polar123@pc-bp1h9tgq4st9g****.mysql.polardb.rds.aliyuncs.com:3306[polar_qw_test]
@NameInMap(value="Logic") public Boolean logic
Indicates whether the database is a logical database. Valid values:
false
@NameInMap(value="OpTime") public String opTime
The time when the operation specified by the SQL statement was performed on the instance or database.
example:2021-11-08 11:04:27
@NameInMap(value="Remark") public String remark
The comment on the SQL statement.
example:success
@NameInMap(value="SQL") public String SQL
The SQL statement that was written.
example:SELECT * FROM polar123.p_qw ORDER BY id DESC
@NameInMap(value="SQLType") public String SQLType
The type of the SQL statement. Valid values:
example:To view more types of SQL statements, log on to the DMS console and click Security and Specifications. In the left-side navigation pane, click Operation Audit. Then, you can view all supported types of SQL statements from the SQL type drop-down list.
SELECT
@NameInMap(value="SchemaName") public String schemaName
The name of the database.
example:polar123
@NameInMap(value="UserId") public Long userId
The ID of the user who wrote the SQL statement.
example:12****
@NameInMap(value="UserName") public String userName
The nickname of the user who wrote the SQL statement.
example:test_UserName
public ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog()
public static ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog build(Map<String,?> map) throws Exception
Exceptionpublic ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setAffectRows(Long affectRows)
public Long getAffectRows()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setDbId(Long dbId)
public Long getDbId()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setElapsedTime(Long elapsedTime)
public Long getElapsedTime()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setExecState(String execState)
public String getExecState()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setInstanceId(Long instanceId)
public Long getInstanceId()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setInstanceName(String instanceName)
public String getInstanceName()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setLogic(Boolean logic)
public Boolean getLogic()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setOpTime(String opTime)
public String getOpTime()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setRemark(String remark)
public String getRemark()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setSQL(String SQL)
public String getSQL()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setSQLType(String SQLType)
public String getSQLType()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setSchemaName(String schemaName)
public String getSchemaName()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setUserId(Long userId)
public Long getUserId()
public ListSQLExecAuditLogResponseBody.ListSQLExecAuditLogResponseBodySQLExecAuditLogListSQLExecAuditLog setUserName(String userName)
public String getUserName()
Copyright © 2025. All rights reserved.