类 GetRow
- java.lang.Object
-
- com.baidubce.services.tablestorage.model.TableStorageRow
-
- com.baidubce.services.tablestorage.model.GetRow
-
public class GetRow extends TableStorageRow
Performs GetRow operation on a single row.
-
-
字段概要
-
从类继承的字段 com.baidubce.services.tablestorage.model.TableStorageRow
cells, rowkey, rowSize
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 GetRowaddCell(String name)Add a cell with column name to this get row object.intgetMaxVersions()Get maxVersions in GetRow.voidsetMaxVersions(int maxVersions)Set maxVersions.StringtoJsonString()Convert this row to json string.-
从类继承的方法 com.baidubce.services.tablestorage.model.TableStorageRow
checkRow, getCells, getRowkey, getRowSize
-
-
-
-
构造器详细资料
-
GetRow
public GetRow(String rowkey)
Constructs a get row object with target rowkey.- 参数:
rowkey- The target rowkey.
-
-
方法详细资料
-
getMaxVersions
public int getMaxVersions()
Get maxVersions in GetRow.- 返回:
- The target maxVersions.
-
setMaxVersions
public void setMaxVersions(int maxVersions)
Set maxVersions.- 参数:
maxVersions- The target maxVersions.
-
addCell
public GetRow addCell(String name)
Add a cell with column name to this get row object.- 参数:
name- The column name of this cell.- 返回:
- This get row object.
-
toJsonString
public String toJsonString()
Convert this row to json string.- 覆盖:
toJsonString在类中TableStorageRow- 返回:
- The json string represent this row.
-
-