类 GetTableResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.moladb.model.GetTableResponse
-
- 所有已实现的接口:
Serializable
public class GetTableResponse extends AbstractBceResponse
Represents the output of a GetTable operation.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 GetTableResponse()Constructs a new GetTableResponse object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<AttributeDefinition>getAttributeDefinitions()Get all of the attributes for this table.DategetCreationDateTime()Get the table creation time.LonggetItemCount()Get the number of Items in this table.List<KeySchemaElement>getKeySchema()Get Key information for this table.ProvisionedThroughputDescriptiongetProvisionedThroughput()Get the provisioned throughput setting for this table from server side.StringgetTableName()Get the name of the requested table.LonggetTableSizeInBytes()Get the size of this table.StringgetTableStatus()Get the status of the requested table.voidsetAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)Set all of the attributes for this table.voidsetCreationDateTime(Date time)Set the table creation time.voidsetItemCount(Long count)Set the number of Items in this table.voidsetKeySchema(List<KeySchemaElement> schema)Set Key information for this table.voidsetProvisionedThroughput(ProvisionedThroughputDescription other)Set the provisioned throughput setting for this table from server side.voidsetTableName(String name)Set the name of the requested table.voidsetTableSizeInBytes(Long size)Set the size of this table.voidsetTableStatus(String status)Set the status of the requested table.StringtoString()Return a string representation of get table response information.-
从类继承的方法 com.baidubce.model.AbstractBceResponse
getMetadata
-
-
-
-
方法详细资料
-
getAttributeDefinitions
public List<AttributeDefinition> getAttributeDefinitions()
Get all of the attributes for this table.- 返回:
- All of the attributes for this table, the type is in AttributesDefinition type.
- 另请参阅:
AttributeDefinition
-
setAttributeDefinitions
public void setAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
Set all of the attributes for this table.- 参数:
attributeDefinitions- All of the attributes for this table, the type is in AttributesDefinition type.- 另请参阅:
AttributeDefinition
-
getProvisionedThroughput
public ProvisionedThroughputDescription getProvisionedThroughput()
Get the provisioned throughput setting for this table from server side.- 返回:
- The provisioned throughput setting for this table from server side.
-
setProvisionedThroughput
public void setProvisionedThroughput(ProvisionedThroughputDescription other)
Set the provisioned throughput setting for this table from server side.- 参数:
other- The provisioned throughput setting for this table from server side.
-
getTableName
public String getTableName()
Get the name of the requested table.- 返回:
- The name of the requested table.
-
setTableName
public void setTableName(String name)
Set the name of the requested table.- 参数:
name- The name of the requested table.
-
setTableStatus
public void setTableStatus(String status)
Set the status of the requested table.- 参数:
status- The status of the requested table.
-
getTableStatus
public String getTableStatus()
Get the status of the requested table.- 返回:
- The status of the requested table.
-
getTableSizeInBytes
public Long getTableSizeInBytes()
Get the size of this table.- 返回:
- The size of this table, the unit is Byte.
-
getKeySchema
public List<KeySchemaElement> getKeySchema()
Get Key information for this table.- 返回:
- Key schema for this table.
- 另请参阅:
KeySchemaElement
-
setKeySchema
public void setKeySchema(List<KeySchemaElement> schema)
Set Key information for this table.- 参数:
schema- Key schema for this table.- 另请参阅:
KeySchemaElement
-
getItemCount
public Long getItemCount()
Get the number of Items in this table.- 返回:
- The number of Items in this table, the value is in long type.
-
setItemCount
public void setItemCount(Long count)
Set the number of Items in this table.- 参数:
count- The number of Items in this table, the value is in long type.
-
getCreationDateTime
public Date getCreationDateTime()
Get the table creation time.- 返回:
- The table creation time, the type is in Data type.
-
setCreationDateTime
public void setCreationDateTime(Date time)
Set the table creation time.- 参数:
time- The table creation time
-
setTableSizeInBytes
public void setTableSizeInBytes(Long size)
Set the size of this table.- 参数:
size- The size of this table, the number type is in long type, and the unit for it is Byte.
-
-