com.baidubce.services.tablestorage.model
Class BatchRowRequest<T extends TableStorageRow>

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<T>
Direct Known Subclasses:
BatchDeleteRowRequest, BatchGetRowRequest, BatchPutRowRequest

public class BatchRowRequest<T extends TableStorageRow>
extends AbstractTableStorageRequest

Base class for all BatchXXXRowRequest objects.


Field Summary
protected  List<T> rows
           
 
Method Summary
static void checkBatchRequest(BatchRowRequest batchRowRequest)
          Check this batch row object
 int getMaxVersions()
          Get maxVersions in BatchGetRow.
 void setMaxVersions(int maxVersions)
          Set maxVersions.
 String toJsonString()
          Convert this request to json string.
 
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
 

Field Detail

rows

protected List<T extends TableStorageRow> rows
Method Detail

checkBatchRequest

public static void checkBatchRequest(BatchRowRequest batchRowRequest)
Check this batch row object


getMaxVersions

public int getMaxVersions()
Get maxVersions in BatchGetRow.

Returns:
The target maxVersions.

setMaxVersions

public void setMaxVersions(int maxVersions)
Set maxVersions.

Parameters:
maxVersions - The target maxVersions.

toJsonString

public String toJsonString()
Convert this request to json string.

Specified by:
toJsonString in class AbstractTableStorageRequest
Returns:
The json string represent this request.


Copyright © 2020. All rights reserved.