public interface TimestreamDB
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Close the client and release resources.
|
void |
createDataTable(String tableName)
Create a data table
|
void |
createMetaTable()
Create the meta table without creating indexes for attributes.
|
void |
createMetaTable(List<AttributeIndexSchema> indexForAttributes)
Create the meta table and create indexes for the specified attributes.
|
TimestreamDataTable |
dataTable(String tableName)
Get the operation object of the data table
|
void |
deleteDataTable(String tableName)
Delete the table
|
void |
deleteMetaTable()
Delete the meta table
|
TimestreamMetaTable |
metaTable()
Get the operation object for the meta table
|
void close()
Make sure to release resources after all requests have been executed. After releasing resources, no further requests can be sent, and ongoing requests may not return results.
void createMetaTable()
void createMetaTable(List<AttributeIndexSchema> indexForAttributes)
Attributes must not be reserved fields (h, n, t, s).
void deleteMetaTable()
void createDataTable(String tableName)
tableName - Name of the data tablevoid deleteDataTable(String tableName)
tableName - the name of the tableTimestreamMetaTable metaTable()
TimestreamDataTable dataTable(String tableName)
tableName - Name of the data tableCopyright © 2025. All Rights Reserved.