public class TableStorageCell extends Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkCell(TableStorageCell cell)
Check this cell object
|
String |
getColumn()
Get the column name of this cell.
|
int |
getSize()
Get the size of this cell.
|
long |
getTimestamp()
Get the value of this cell.
|
String |
getValue()
Get the value of this cell.
|
String |
toJsonString()
Convert this cell to json string.
|
String |
toString()
Convert this cell to string.
|
public TableStorageCell(CellType cellType, String column)
column - The column name of this cell.public TableStorageCell(CellType cellType, String column, String value)
column - The column name of this cell.value - The value of this cell.public String getColumn()
public String getValue()
public long getTimestamp()
public int getSize()
protected static void checkCell(TableStorageCell cell)
public String toString()
public String toJsonString()
Copyright © 2020. All rights reserved.