| Constructor and Description |
|---|
StartLocalTransactionRequest(String tableName,
PrimaryKey key)
初始化StartLocalTransactionRequest实例。
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOperationName() |
PrimaryKey |
getPrimaryKey()
获取该行的主键。
|
String |
getTableName()
获取表的名称。
|
void |
setPrimaryKey(PrimaryKey primaryKey)
添加主键(Primary Key)列的名称和值。
|
void |
setTableName(String tableName)
设置表的名称。
|
public StartLocalTransactionRequest(String tableName, PrimaryKey key)
tableName - 表名。key - 主键,对于本地事务,只需要指定第一个主键即可。public void setTableName(String tableName)
public String getTableName()
public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey - 行的主键。public PrimaryKey getPrimaryKey()
public String getOperationName()
getOperationName in interface RequestCopyright © 2024. All Rights Reserved.