类 PutRowRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
-
- com.baidubce.services.tablestorage.model.PutRowRequest
-
public class PutRowRequest extends AbstractTableStorageRequest
Represent the request for PutRow operation.
-
-
构造器概要
构造器 构造器 说明 PutRowRequest(String tableName, String rowkey)Constructs the put row request with target table name and rowkey.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 PutRowRequestaddCell(String column, String value)Add a cell with column name and value.StringtoJsonString()Convert the put row request object to json string.-
从类继承的方法 com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
getTableName, withRequestCredentials
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
addCell
public PutRowRequest addCell(String column, String value)
Add a cell with column name and value.- 参数:
column- The column name of the cell.value- The value of the cell.- 返回:
-
toJsonString
public String toJsonString()
Convert the put row request object to json string.- 指定者:
toJsonString在类中AbstractTableStorageRequest- 返回:
- The json string represent this put row request.
-
-