com.baidubce.services.tablestorage.model
Class CreateTableRequest

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

public class CreateTableRequest
extends AbstractTableStorageRequest

Represent the request for CreateTable operation.


Constructor Summary
CreateTableRequest(String tableName, TableOption option)
          Constructs a create table request with table name and option.
 
Method Summary
 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
 

Constructor Detail

CreateTableRequest

public CreateTableRequest(String tableName,
                          TableOption option)
Constructs a create table request with table name and option.

Parameters:
tableName - The target table name.
option - The option used to this request.
Method Detail

toJsonString

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

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


Copyright © 2020. All rights reserved.