com.baidubce.services.tablestorage.model
Class DeleteRowRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.tablestorage.model.AbstractTableStorageRequest
          extended by com.baidubce.services.tablestorage.model.DeleteRowRequest

public class DeleteRowRequest
extends AbstractTableStorageRequest

Represent the request for DeleteRow operation.


Constructor Summary
DeleteRowRequest(String tableName, String rowkey)
          Constructs a delete row request with target table name and rowkey.
 
Method Summary
 DeleteRowRequest addCell(String column)
          Add a cell with column name to this delete row request.
 String toJsonString()
          Convert this request object 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
 

Constructor Detail

DeleteRowRequest

public DeleteRowRequest(String tableName,
                        String rowkey)
Constructs a delete row request with target table name and rowkey.

Parameters:
tableName - The target table name.
rowkey - The target rowkey.
Method Detail

addCell

public DeleteRowRequest addCell(String column)
Add a cell with column name to this delete row request.

Parameters:
column - The column name of cell.
Returns:
This delete row request object.

toJsonString

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

Specified by:
toJsonString in class AbstractTableStorageRequest
Returns:
the json string represent the request object.


Copyright © 2020. All rights reserved.