public static class CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
attachmentName
The key of the attachment that contains the SQL statements used to change data.
|
String |
classify
The reason for the data change.
|
List<CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParamDbItemList> |
dbItemList
The databases whose data you want to change.
|
Long |
estimateAffectRows
The estimated number of data rows that may be affected by the data change.
|
String |
execMode
The mode in which the data change ticket is executed after the ticket is approved.
|
String |
execSQL
The SQL statements for data change.
|
String |
rollbackAttachmentName
The key of the attachment that contains the SQL statements used to roll back the data change.
|
String |
rollbackSQL
The SQL statements for rolling back the data change.
|
String |
rollbackSqlType
The format of the SQL statements used to roll back the data change.
|
String |
sqlType
The format of the SQL statements used to change data.
|
| 构造器和说明 |
|---|
CreateDataCorrectOrderRequestParam() |
@NameInMap(value="AttachmentName") public String attachmentName
The key of the attachment that contains the SQL statements used to change data. You can call the GetUserUploadFileJob operation to obtain the attachment key from the value of AttachmentKey.
example:This parameter is required if you set SqlType to ATTACHMENT.
test.sql
@NameInMap(value="Classify") public String classify
The reason for the data change.
example:test
@NameInMap(value="DbItemList") public List<CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParamDbItemList> dbItemList
The databases whose data you want to change.
This parameter is required.
@NameInMap(value="EstimateAffectRows") public Long estimateAffectRows
The estimated number of data rows that may be affected by the data change.
This parameter is required.
example:1
@NameInMap(value="ExecMode") public String execMode
The mode in which the data change ticket is executed after the ticket is approved. Valid values:
COMMITOR
@NameInMap(value="ExecSQL") public String execSQL
The SQL statements for data change.
This parameter is required if you set SqlType to TEXT.
The size of the SQL statement cannot exceed 15 MB.
update base_user set id = 1 where id = 1;
@NameInMap(value="RollbackAttachmentName") public String rollbackAttachmentName
The key of the attachment that contains the SQL statements used to roll back the data change. You can call the GetUserUploadFileJob operation to obtain the attachment key from the value of AttachmentKey.
example:This parameter is required if you set RollbackSqlType to ATTACHMENT.
test_rollback.sql
@NameInMap(value="RollbackSQL") public String rollbackSQL
The SQL statements for rolling back the data change.
example:This parameter is required if you set RollbackSqlType to TEXT.
update base_user set id = 1 where id = 1;
@NameInMap(value="RollbackSqlType") public String rollbackSqlType
The format of the SQL statements used to roll back the data change. Valid values:
TEXT
@NameInMap(value="SqlType") public String sqlType
The format of the SQL statements used to change data. Valid values:
This parameter is required.
example:TEXT
public static CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam build(Map<String,?> map) throws Exception
Exceptionpublic CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setAttachmentName(String attachmentName)
public String getAttachmentName()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setClassify(String classify)
public String getClassify()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setDbItemList(List<CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParamDbItemList> dbItemList)
public List<CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParamDbItemList> getDbItemList()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setEstimateAffectRows(Long estimateAffectRows)
public Long getEstimateAffectRows()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setExecMode(String execMode)
public String getExecMode()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setExecSQL(String execSQL)
public String getExecSQL()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setRollbackAttachmentName(String rollbackAttachmentName)
public String getRollbackAttachmentName()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setRollbackSQL(String rollbackSQL)
public String getRollbackSQL()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setRollbackSqlType(String rollbackSqlType)
public String getRollbackSqlType()
public CreateDataCorrectOrderRequest.CreateDataCorrectOrderRequestParam setSqlType(String sqlType)
public String getSqlType()
Copyright © 2025. All rights reserved.