类 TableStorageClient

    • 构造器详细资料

      • 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.