public class CreateOnlineDDLJobRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateOnlineDDLJobRequest() |
CreateOnlineDDLJobRequest(CreateOnlineDDLJobRequest 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 |
---|---|
String |
getAlter()
Get Specifies the DDL statement to be executed.
|
Long |
getCheckAutoInc()
Get Specifies whether to check auto-increment fields.
|
Long |
getCriticalLoad()
Get Indicates that DDL will terminate if the number of running threads exceeds this value.
|
String |
getDbName()
Get Specifies the database to be modified.
|
String |
getInstanceId()
Get Instance ID
|
Long |
getMaxDelay()
Get Allowed primary-secondary delay time (in seconds).
|
String |
getPassword()
Get Specifies the password for the account.
|
String |
getStartTime()
Get Start Execution Time
|
String |
getTable()
Get Specifies the table to be modified.
|
Long |
getUsePt()
Get Indicates whether to use pt-osc tool for DDL.
|
String |
getUser()
Get Specifies the account to execute DDL.
|
void |
setAlter(String Alter)
Set Specifies the DDL statement to be executed.
|
void |
setCheckAutoInc(Long CheckAutoInc)
Set Specifies whether to check auto-increment fields.
|
void |
setCriticalLoad(Long CriticalLoad)
Set Indicates that DDL will terminate if the number of running threads exceeds this value.
|
void |
setDbName(String DbName)
Set Specifies the database to be modified.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setMaxDelay(Long MaxDelay)
Set Allowed primary-secondary delay time (in seconds).
|
void |
setPassword(String Password)
Set Specifies the password for the account.
|
void |
setStartTime(String StartTime)
Set Start Execution Time
|
void |
setTable(String Table)
Set Specifies the table to be modified.
|
void |
setUsePt(Long UsePt)
Set Indicates whether to use pt-osc tool for DDL.
|
void |
setUser(String User)
Set Specifies the account to execute DDL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateOnlineDDLJobRequest()
public CreateOnlineDDLJobRequest(CreateOnlineDDLJobRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getAlter()
public void setAlter(String Alter)
Alter
- Specifies the DDL statement to be executed. Common online DDL refer to this API documentation example section.public String getDbName()
public void setDbName(String DbName)
DbName
- Specifies the database to be modified.public String getTable()
public void setTable(String Table)
Table
- Specifies the table to be modified.public String getUser()
public void setUser(String User)
User
- Specifies the account to execute DDL. Ensure the account has ALTER, CREATE, INSERT, UPDATE, DROP, DELETE, INDEX, CREATE TEMPORARY TABLES, LOCK TABLES, TRIGGER, REPLICATION CLIENT, REPLICATION SLAVE permissions. If not specified, the system account will be used by default.public String getPassword()
public void setPassword(String Password)
Password
- Specifies the password for the account.public Long getCriticalLoad()
public void setCriticalLoad(Long CriticalLoad)
CriticalLoad
- Indicates that DDL will terminate if the number of running threads exceeds this value. Default is 58 if not specified.public Long getCheckAutoInc()
public void setCheckAutoInc(Long CheckAutoInc)
CheckAutoInc
- Specifies whether to check auto-increment fields. If set to 1, modification of auto-increment fields is not allowed; if set to 0 or left empty, no check is performed.public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- Allowed primary-secondary delay time (in seconds). If set to 0 or left empty, do not check delay.public Long getUsePt()
public void setUsePt(Long UsePt)
UsePt
- Indicates whether to use pt-osc tool for DDL.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start Execution TimeCopyright © 2025. All rights reserved.