public class ExecuteScriptRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
dbId
The ID of the database.
|
Boolean |
logic
Specifies whether the database is a logical database.
|
String |
script
The SQL statements to be executed.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
ExecuteScriptRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ExecuteScriptRequest |
build(Map<String,?> map) |
Integer |
getDbId() |
Boolean |
getLogic() |
String |
getScript() |
Long |
getTid() |
ExecuteScriptRequest |
setDbId(Integer dbId) |
ExecuteScriptRequest |
setLogic(Boolean logic) |
ExecuteScriptRequest |
setScript(String script) |
ExecuteScriptRequest |
setTid(Long tid) |
@NameInMap(value="DbId") public Integer dbId
The ID of the database.
This parameter is equivalent to the DatabaseId parameter in the SearchDatabase, ListDatabases, and GetDatabase operations. You can call one of these operations to obtain the required database ID. For more information, see SearchDatabase, ListDatabases, and GetDatabase.
This parameter is required.
example:123
@NameInMap(value="Logic") public Boolean logic
Specifies whether the database is a logical database.
This parameter is required.
example:false
@NameInMap(value="Script") public String script
The SQL statements to be executed. Data query language (DQL) statements, data definition language (DDL) statements, and data manipulation language (DML) statements are supported. The control mode of the instance that you want to query determines whether you can execute DDL and DML statements.
This parameter is required.
example:select dt from report_daily
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To obtain the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Tenant information.
234
public static ExecuteScriptRequest build(Map<String,?> map) throws Exception
Exceptionpublic ExecuteScriptRequest setDbId(Integer dbId)
public Integer getDbId()
public ExecuteScriptRequest setLogic(Boolean logic)
public Boolean getLogic()
public ExecuteScriptRequest setScript(String script)
public String getScript()
public ExecuteScriptRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.