public class Table extends AbstractModel
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 |
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 |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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[] 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 © 2023. All rights reserved.