public interface DynamoDbEnhancedAsyncClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DynamoDbEnhancedAsyncClient.Builder
The builder definition for a
DynamoDbEnhancedAsyncClient. |
| Modifier and Type | Method and Description |
|---|---|
static DynamoDbEnhancedAsyncClient.Builder |
builder()
Creates a default builder for
DynamoDbEnhancedAsyncClient. |
<T> CompletableFuture<T> |
execute(DatabaseOperation<?,?,T> operation)
Executes a command against the database.
|
<T> AsyncMappedTable<T> |
table(String tableName,
TableSchema<T> tableSchema)
Returns a mapped table that can be used to execute commands that work with mapped items against that table.
|
<T> CompletableFuture<T> execute(DatabaseOperation<?,?,T> operation)
T - The expected return type from the operation. This is typically inferred by the compiler.operation - The operation to be performed in the context of the database.CompletableFuture of the result of the operation being executed. The documentation on the
operation itself should have more information.<T> AsyncMappedTable<T> table(String tableName, TableSchema<T> tableSchema)
T - THe modelled object type being mapped to this table.tableName - The name of the physical table persisted by DynamoDb.tableSchema - A TableSchema that maps the table to a modelled object.AsyncMappedTable object that can be used to execute table operations against.static DynamoDbEnhancedAsyncClient.Builder builder()
DynamoDbEnhancedAsyncClient.Copyright © 2020. All rights reserved.