com.baidubce.services.tablestorage.model
Class TableStorageResult

java.lang.Object
  extended by com.baidubce.services.tablestorage.model.TableStorageResult

public class TableStorageResult
extends Object

Single row result of a GetRow, BatchGetRow or Scan operation.


Constructor Summary
TableStorageResult(String rowkey, List<TableStorageCell> cells)
          Constructs a result object with rowkey and cells.
 
Method Summary
 List<TableStorageCell> getCells()
          The list of cells of this object.
 String getRowkey()
          Get the rowkey of this object.
 String toString()
          Convert this object to string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableStorageResult

public TableStorageResult(String rowkey,
                          List<TableStorageCell> cells)
Constructs a result object with rowkey and cells.

Parameters:
rowkey - The rowkey set to this object.
cells -
Method Detail

getRowkey

public String getRowkey()
Get the rowkey of this object.

Returns:
The rowkey of this object.

getCells

public List<TableStorageCell> getCells()
The list of cells of this object.

Returns:
The list of cells of this object.

toString

public String toString()
Convert this object to string.

Overrides:
toString in class Object
Returns:
The string represent this object.


Copyright © 2020. All rights reserved.