构造器和说明 |
---|
StartLocalTransactionRequest(String tableName,
PrimaryKey key)
初始化StartLocalTransactionRequest实例。
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 Request
Copyright © 2019. All Rights Reserved.