com.baidubce.services.tablestorage.model
Class BatchDeleteRowRequest

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

public class BatchDeleteRowRequest
extends BatchRowRequest<DeleteRow>

Represent the request for BatchDeleteRow operation.


Field Summary
 
Fields inherited from class com.baidubce.services.tablestorage.model.BatchRowRequest
rows
 
Constructor Summary
BatchDeleteRowRequest(String tableName)
          Constructs a batch delete row request with a table name.
 
Method Summary
 void addDeleteRow(DeleteRow deleteRow)
          Add a delete row object to the batch delete row request.
 List<DeleteRow> getDeleteRows()
          Get all delete 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

BatchDeleteRowRequest

public BatchDeleteRowRequest(String tableName)
Constructs a batch delete row request with a table name.

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

addDeleteRow

public void addDeleteRow(DeleteRow deleteRow)
Add a delete row object to the batch delete row request.

Parameters:
deleteRow - The single delete row object.

getDeleteRows

public List<DeleteRow> getDeleteRows()
Get all delete row objects in this request.

Returns:
Return the list of all delete row objects.


Copyright © 2020. All rights reserved.