类 TableStorageCell


  • public class TableStorageCell
    extends Object
    Represents a TableStorageCell in a row.
    • 构造器详细资料

      • 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.
      • TableStorageCell

        public TableStorageCell​(CellType cellType,
                                String column,
                                String value,
                                long timestamp)
        Constructs a cell with column name、value and timestamp.
        参数:
        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.
        覆盖:
        toString 在类中 Object
        返回:
        Return the String represent this cell.
      • toJsonString

        public String toJsonString()
        Convert this cell to json string.
        返回:
        The json string represent this cell.