public class SyncTableInfo extends AbstractModel
Constructor and Description |
---|
SyncTableInfo() |
SyncTableInfo(SyncTableInfo 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 |
getClusterId()
Get ID of cluster where the table resides
|
SyncTableField[] |
getKeyFieldMapping()
Get Mapping from the primary key field of the TcaplusDB table to the field of the target cache table
|
Long |
getStatus()
Get Caching status.
|
Long |
getTableGroupId()
Get The ID of the table group where the table resides
|
String |
getTableId()
Get Table ID
|
String |
getTableName()
Get Table name
|
String |
getTargetDatabaseName()
Get Name of the database where the cache table resides
|
String |
getTargetSyncDBInstanceId()
Get Instance ID of the cache database
|
String[] |
getTargetTableNamePrefix()
Get Prefix of the target cache table name
|
Long |
getTargetTableSplitNum()
Get Sharded table quantity of the target cache table
|
SyncTableField[] |
getValueFieldMapping()
Get Mapping of TcaplusDB table field to target cache table field
|
void |
setClusterId(String ClusterId)
Set ID of cluster where the table resides
|
void |
setKeyFieldMapping(SyncTableField[] KeyFieldMapping)
Set Mapping from the primary key field of the TcaplusDB table to the field of the target cache table
|
void |
setStatus(Long Status)
Set Caching status.
|
void |
setTableGroupId(Long TableGroupId)
Set The ID of the table group where the table resides
|
void |
setTableId(String TableId)
Set Table ID
|
void |
setTableName(String TableName)
Set Table name
|
void |
setTargetDatabaseName(String TargetDatabaseName)
Set Name of the database where the cache table resides
|
void |
setTargetSyncDBInstanceId(String TargetSyncDBInstanceId)
Set Instance ID of the cache database
|
void |
setTargetTableNamePrefix(String[] TargetTableNamePrefix)
Set Prefix of the target cache table name
|
void |
setTargetTableSplitNum(Long TargetTableSplitNum)
Set Sharded table quantity of the target cache table
|
void |
setValueFieldMapping(SyncTableField[] ValueFieldMapping)
Set Mapping of TcaplusDB table field to target cache table field
|
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 SyncTableInfo()
public SyncTableInfo(SyncTableInfo source)
public Long getTargetTableSplitNum()
public void setTargetTableSplitNum(Long TargetTableSplitNum)
TargetTableSplitNum
- Sharded table quantity of the target cache tablepublic String[] getTargetTableNamePrefix()
public void setTargetTableNamePrefix(String[] TargetTableNamePrefix)
TargetTableNamePrefix
- Prefix of the target cache table namepublic String getTargetSyncDBInstanceId()
public void setTargetSyncDBInstanceId(String TargetSyncDBInstanceId)
TargetSyncDBInstanceId
- Instance ID of the cache databasepublic String getTargetDatabaseName()
public void setTargetDatabaseName(String TargetDatabaseName)
TargetDatabaseName
- Name of the database where the cache table residespublic Long getStatus()
public void setStatus(Long Status)
Status
- Caching status. Valid values: `0` (creating), `1` (caching), `2` (disabled), `-1` (deleted).public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- ID of cluster where the table residespublic Long getTableGroupId()
public void setTableGroupId(Long TableGroupId)
TableGroupId
- The ID of the table group where the table residespublic String getTableName()
public void setTableName(String TableName)
TableName
- Table namepublic String getTableId()
public void setTableId(String TableId)
TableId
- Table IDpublic SyncTableField[] getKeyFieldMapping()
public void setKeyFieldMapping(SyncTableField[] KeyFieldMapping)
KeyFieldMapping
- Mapping from the primary key field of the TcaplusDB table to the field of the target cache tablepublic SyncTableField[] getValueFieldMapping()
public void setValueFieldMapping(SyncTableField[] ValueFieldMapping)
ValueFieldMapping
- Mapping of TcaplusDB table field to target cache table fieldCopyright © 2023. All rights reserved.