public class Table extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Table() | 
| Table(Table 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 | getColumnMode()Get Whether to synchronize all columns in the table. | 
| Column[] | getColumns()Get Column information in data sync. | 
| String | getFilterCondition()Get Filter condition
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNewTableName()Get New table name
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getTableEditMode()Get Table editing type. | 
| String | getTableName()Get Table name
Note: This field may return null, indicating that no valid values can be obtained. | 
| String[] | getTmpTables()Get The temp tables to be synced. | 
| void | setColumnMode(String ColumnMode)Set Whether to synchronize all columns in the table. | 
| void | setColumns(Column[] Columns)Set Column information in data sync. | 
| void | setFilterCondition(String FilterCondition)Set Filter condition
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNewTableName(String NewTableName)Set New table name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTableEditMode(String TableEditMode)Set Table editing type. | 
| void | setTableName(String TableName)Set Table name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTmpTables(String[] TmpTables)Set The temp tables to be synced. | 
| 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, toJsonStringpublic Table()
public Table(Table source)
public String getTableName()
public void setTableName(String TableName)
TableName - Table name
Note: This field may return null, indicating that no valid values can be obtained.public String getNewTableName()
public void setNewTableName(String NewTableName)
NewTableName - New table name
Note: This field may return null, indicating that no valid values can be obtained.public String getFilterCondition()
public void setFilterCondition(String FilterCondition)
FilterCondition - Filter condition
Note: This field may return null, indicating that no valid values can be obtained.public String getColumnMode()
public void setColumnMode(String ColumnMode)
ColumnMode - Whether to synchronize all columns in the table. All: all columns under the current table; Partial (the corresponding field ColumnMode in ModifySyncJobConfig interface does not support Partial at the moment): some columns under the current table, detailed table information is provided by filling the Columns field.Note: This field may return null, indicating that no valid values can be obtained.public Column[] getColumns()
public void setColumns(Column[] Columns)
Columns - Column information in data sync. This field is required when ColumnMode is set to Partial.Note: This field may return null, indicating that no valid values can be obtained.public String[] getTmpTables()
public void setTmpTables(String[] TmpTables)
TmpTables - The temp tables to be synced. This parameter is mutually exclusive with `NewTableName`. It is valid only when the configured sync objects are table-level ones and `TableEditMode` is `pt`. To sync temp tables generated when pt-osc or other tools are used during the sync process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named "t1", configure this parameter as ["\_t1\_new","\_t1\_old"]; to perform the gh-ost operation on t1, configure it as ["\_t1\_ghc","\_t1\_gho","\_t1\_del"]. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
Note: This field may return null, indicating that no valid values can be obtained.public String getTableEditMode()
public void setTableEditMode(String TableEditMode)
TableEditMode - Table editing type. Valid values: `rename` (table mapping); `pt` (additional table sync).
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.