类 TableStorageClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.tablestorage.AbstractTableStorageBceClient
-
- com.baidubce.services.tablestorage.TableStorageClient
-
public class TableStorageClient extends AbstractTableStorageBceClient
Provides the client for accessing the Baidu TableStorage.
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 TableStorageClient(BceClientConfiguration config, String instanceName)Constructs a new TableStorage client.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BatchDeleteRowResponsebatchDeleteRow(BatchDeleteRowRequest request)Batch delete the rows of the table in tablestorage.BatchGetRowResponsebatchGetRow(BatchGetRowRequest request)Batch get the rows of the table in tablestorage.BatchPutRowResponsebatchPutRow(BatchPutRowRequest request)Batch put the rows to the table in tablestorage.CreateTableResponsecreateTable(CreateTableRequest request)Create table in tablestorage.DeleteRowResponsedeleteRow(DeleteRowRequest request)Delete the row of the table in tablestorage.DropTableResponsedropTable(DropTableRequest request)Drop table in tablestorage.GetRowResponsegetRow(GetRowRequest request)Get the row of the table in tablestorage.ListKeyRangesResponselistKeyRanges(ListKeyRangesRequest request)List key range in table from tablestorage.ListTablesResponselistTables(ListTablesRequest request)List tables from tablestorage.PutRowResponseputRow(PutRowRequest request)Put the row to the table in tablestorage.ScanResponsescan(ScanRequest request)Scan the rows of table in tablestorage.ShowTableResponseshowTable(ShowTableRequest request)Show the table named tableName from tablestorage.TableStateshowTableState(String tableName)Show the state of the table named tableName from tablestorage.UpdateTableResponseupdateTable(UpdateTableRequest request)Update table in tablestorage.-
从类继承的方法 com.baidubce.services.tablestorage.AbstractTableStorageBceClient
createRequest, fillInHeadAndBody
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
TableStorageClient
public TableStorageClient(BceClientConfiguration config, String instanceName)
Constructs a new TableStorage client.
-
-
方法详细资料
-
createTable
public CreateTableResponse createTable(CreateTableRequest request)
Create table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the create table method on tablestorage.- 返回:
- The response from the create table method, as returned by tablestorage.
-
updateTable
public UpdateTableResponse updateTable(UpdateTableRequest request)
Update table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the update table method on tablestorage.- 返回:
- The response from the update table method, as returned by tablestorage.
-
dropTable
public DropTableResponse dropTable(DropTableRequest request)
Drop table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the drop table method on tablestorage.- 返回:
- The response from the drop table method, as returned by tablestorage.
-
listTables
public ListTablesResponse listTables(ListTablesRequest request)
List tables from tablestorage.- 参数:
request- Container for the necessary parameters to execute the list tables method on tablestorage.- 返回:
- The response from the list tables method, as returned by tablestorage.
-
showTableState
public TableState showTableState(String tableName)
Show the state of the table named tableName from tablestorage.- 参数:
tableName- the name of table in tablestorage.- 返回:
- state of the table in tablestorage.
-
showTable
public ShowTableResponse showTable(ShowTableRequest request)
Show the table named tableName from tablestorage.- 参数:
request- Container for the necessary parameters to execute the show table method on tablestorage.- 返回:
- The response from the show table method, as returned by tablestorage.
-
listKeyRanges
public ListKeyRangesResponse listKeyRanges(ListKeyRangesRequest request)
List key range in table from tablestorage.- 参数:
request- Container for the necessary parameters to execute the list keyRanges method on tablestorage.- 返回:
- The response from the list keyRanges method, as returned by tablestorage.
-
getRow
public GetRowResponse getRow(GetRowRequest request)
Get the row of the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the get row method on tablestorage.- 返回:
- The response from the get row method, as returned by tablestorage.
-
putRow
public PutRowResponse putRow(PutRowRequest request)
Put the row to the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the put row method on tablestorage.- 返回:
- The response from the put row method, as returned by tablestorage.
-
deleteRow
public DeleteRowResponse deleteRow(DeleteRowRequest request)
Delete the row of the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the delete row method on tablestorage.- 返回:
- The response from the delete row method, as returned by tablestorage.
-
batchGetRow
public BatchGetRowResponse batchGetRow(BatchGetRowRequest request)
Batch get the rows of the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the batch get rows row method on tablestorage.- 返回:
- The response from the batch get rows method, as returned by tablestorage.
-
batchPutRow
public BatchPutRowResponse batchPutRow(BatchPutRowRequest request)
Batch put the rows to the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the batch put rows method on tablestorage.- 返回:
- The response from the batch put rows method, as returned by tablestorage.
-
batchDeleteRow
public BatchDeleteRowResponse batchDeleteRow(BatchDeleteRowRequest request)
Batch delete the rows of the table in tablestorage.- 参数:
request- Container for the necessary parameters to execute batch delete rows method on tablestorage.- 返回:
- The response from the batch delete rows method, as returned by tablestorage.
-
scan
public ScanResponse scan(ScanRequest request)
Scan the rows of table in tablestorage.- 参数:
request- Container for the necessary parameters to execute the scan method on tablestorage.- 返回:
- The response from the scan method, as returned by tablestorage.
-
-