public static final class ListDIProjectConfigResponseBody.Data.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ListDIProjectConfigResponseBody.Data |
build() |
ListDIProjectConfigResponseBody.Data.Builder |
config(String config)
The default global configuration of sync solutions.
|
public ListDIProjectConfigResponseBody.Data.Builder config(String config)
{"RENAMECOLUMN":"WARNING","DROPTABLE":"WARNING","CREATETABLE":"WARNING","MODIFYCOLUMN":"WARNING","TRUNCATETABLE":"WARNING","DROPCOLUMN":"WARNING","ADDCOLUMN":"WARNING","RENAMETABLE":"WARNING"} Field description: * RENAMECOLUMN: renames the column. * DROPTABLE: deletes the table. * CREATETABLE: creates a table. * MODIFYCOLUMN: changes the column data type. * TRUNCATETABLE: clears the table. * DROPCOLUMN: deletes the column. * ADDCOLUMN: creates a column. * RENAMETABLE: renames the table. DataWorks processes a DDL message of a specific type based on the following policies after it receives the message: * WARNING: ignores the message and records an alert in real-time sync logs. The alert contains information about the situation that the message is ignored because of an execution error. * IGNORE: discards the message and does not send it to the destination data source. * CRITICAL: terminates the real-time sync node and sets the node status to Failed. * NORMAL: sends the message to the destination data source to process the message. Each destination data source may process DDL messages based on its own business logic. If DataWorks adopts the NORMAL policy, DataWorks only forwards DDL messages.
public ListDIProjectConfigResponseBody.Data build()
Copyright © 2023. All rights reserved.