com.baidubce.services.tablestorage.model
Class BatchPutRowRequest

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<PutRow>
              extended by com.baidubce.services.tablestorage.model.BatchPutRowRequest

public class BatchPutRowRequest
extends BatchRowRequest<PutRow>

Represent the request for BatchPutRow operation.


Field Summary
 
Fields inherited from class com.baidubce.services.tablestorage.model.BatchRowRequest
rows
 
Constructor Summary
BatchPutRowRequest(String tableName)
          Constructs a batch put row request with a table name.
 
Method Summary
 void addPutRow(PutRow putRow)
          Add a put row object to the batch put row request.
 List<PutRow> getPutRows()
          Get all put 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

BatchPutRowRequest

public BatchPutRowRequest(String tableName)
Constructs a batch put row request with a table name.

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

addPutRow

public void addPutRow(PutRow putRow)
Add a put row object to the batch put row request.

Parameters:
putRow - The single put row object.

getPutRows

public List<PutRow> getPutRows()
Get all put row objects in this request.

Returns:
Return the list of all put row objects.


Copyright © 2020. All rights reserved.