类 TableStorageCell
- java.lang.Object
-
- com.baidubce.services.tablestorage.model.TableStorageCell
-
public class TableStorageCell extends Object
Represents a TableStorageCell in a row.
-
-
构造器概要
构造器 构造器 说明 TableStorageCell(CellType cellType, String column)Constructs a call with column name.TableStorageCell(CellType cellType, String column, String value)Constructs a cell with column name and value.TableStorageCell(CellType cellType, String column, String value, long timestamp)Constructs a cell with column name、value and timestamp.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected static voidcheckCell(TableStorageCell cell)Check this cell objectStringgetColumn()Get the column name of this cell.intgetSize()Get the size of this cell.longgetTimestamp()Get the value of this cell.StringgetValue()Get the value of this cell.StringtoJsonString()Convert this cell to json string.StringtoString()Convert this cell to string.
-
-
-
构造器详细资料
-
TableStorageCell
public TableStorageCell(CellType cellType, String column)
Constructs a call with column name.- 参数:
column- The column name of this cell.
-
TableStorageCell
public TableStorageCell(CellType cellType, String column, String value)
Constructs a cell with column name and value.- 参数:
column- The column name of this cell.value- The value of this cell.
-
-
方法详细资料
-
getColumn
public String getColumn()
Get the column name of this cell.- 返回:
- The column name of this cell.
-
getValue
public String getValue()
Get the value of this cell.- 返回:
- The value of this cell.
-
getTimestamp
public long getTimestamp()
Get the value of this cell.- 返回:
- The value of this cell.
-
getSize
public int getSize()
Get the size of this cell.- 返回:
- The size of this cell.
-
checkCell
protected static void checkCell(TableStorageCell cell)
Check this cell object
-
toString
public String toString()
Convert this cell to string.
-
toJsonString
public String toJsonString()
Convert this cell to json string.- 返回:
- The json string represent this cell.
-
-