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