com.baidubce.services.tablestorage.model
Class AbstractTableStorageRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
Direct Known Subclasses:
BatchRowRequest, CreateTableRequest, DeleteRowRequest, DropTableRequest, GetRowRequest, ListKeyRangesRequest, ListTablesRequest, PutRowRequest, ScanRequest, ShowTableRequest, UpdateTableRequest

public abstract class AbstractTableStorageRequest
extends AbstractBceRequest

Base class for all TableStorage request objects.


Method Summary
 String getTableName()
          Get the target table name.
abstract  String toJsonString()
          Convert this request to json string.
 AbstractTableStorageRequest withRequestCredentials(BceCredentials credentials)
          Set bce credentials of this request.
 
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
 

Method Detail

getTableName

public String getTableName()
Get the target table name.

Returns:
return the target table name.

withRequestCredentials

public AbstractTableStorageRequest withRequestCredentials(BceCredentials credentials)
Set bce credentials of this request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - the bce credentials.
Returns:
the reference of this request.

toJsonString

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

Returns:
the json string represent this request.


Copyright © 2020. All rights reserved.