com.baidubce.services.tablestorage.model
Class BatchGetRowRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
          extended by com.baidubce.services.tablestorage.model.BatchRowRequest<GetRow>
              extended by com.baidubce.services.tablestorage.model.BatchGetRowRequest

public class BatchGetRowRequest
extends BatchRowRequest<GetRow>

Represent the request for BatchGetRow operation.


Field Summary
 
Fields inherited from class com.baidubce.services.tablestorage.model.BatchRowRequest
rows
 
Constructor Summary
BatchGetRowRequest(String tableName)
          Constructs a batch get row request with a table name.
 
Method Summary
 void addGetRow(GetRow getRow)
          Add a get row object to the batch get row request.
 List<GetRow> getGetRows()
          Get all get row objects in this request.
 
Methods inherited from class com.baidubce.services.tablestorage.model.BatchRowRequest
checkBatchRequest, getMaxVersions, setMaxVersions, toJsonString
 
Methods inherited from class com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
getTableName, withRequestCredentials
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchGetRowRequest

public BatchGetRowRequest(String tableName)
Constructs a batch get row request with a table name.

Parameters:
tableName - The target table name in TableStorage.
Method Detail

addGetRow

public void addGetRow(GetRow getRow)
Add a get row object to the batch get row request.

Parameters:
getRow - The single get row object.

getGetRows

public List<GetRow> getGetRows()
Get all get row objects in this request.

Returns:
Return the list of all get row objects.


Copyright © 2020. All rights reserved.