com.baidubce.services.tablestorage.model
Class ListTablesResponse

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.services.tablestorage.model.AbstractTableStorageResponse
          extended by com.baidubce.services.tablestorage.model.ListTablesResponse
All Implemented Interfaces:
Serializable

public class ListTablesResponse
extends AbstractTableStorageResponse

Represents the output of a ListTables operation.

See Also:
Serialized Form

Nested Class Summary
static class ListTablesResponse.TableInfo
          The table info consists of attributes of table in TableStorage.
 
Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
ListTablesResponse()
           
 
Method Summary
 ListTablesResponse.TableInfo getTableInfo(String tableName)
          Get the table info of the target table name.
 List<ListTablesResponse.TableInfo> getTables()
          Get list of table info objects of this list table response.
 void setTables(List<ListTablesResponse.TableInfo> tables)
          Set the table info objects to this list tables request.
 String toString()
          Convert this object to string.
 
Methods inherited from class com.baidubce.model.AbstractBceResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListTablesResponse

public ListTablesResponse()
Method Detail

getTables

public List<ListTablesResponse.TableInfo> getTables()
Get list of table info objects of this list table response.

Returns:
The list of table info objects of this list table response.

getTableInfo

public ListTablesResponse.TableInfo getTableInfo(String tableName)
Get the table info of the target table name.

Parameters:
tableName - the target table name.
Returns:
The table info of the target table.

setTables

public void setTables(List<ListTablesResponse.TableInfo> tables)
Set the table info objects to this list tables request.

Parameters:
tables - The list of table info objects.

toString

public String toString()
Convert this object to string.

Overrides:
toString in class AbstractTableStorageResponse
Returns:
The string represent of this object.


Copyright © 2020. All rights reserved.