@ThreadSafe public final class DefaultDynamoDbEnhancedAsyncClient extends Object implements DynamoDbEnhancedAsyncClient
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultDynamoDbEnhancedAsyncClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultDynamoDbEnhancedAsyncClient.Builder |
builder()
Creates a default builder for
DynamoDbEnhancedAsyncClient. |
DynamoDbAsyncClient |
dynamoDbAsyncClient() |
boolean |
equals(Object o) |
<T> CompletableFuture<T> |
execute(DatabaseOperation<?,?,T> operation)
Executes a command against the database.
|
int |
hashCode() |
MapperExtension |
mapperExtension() |
<T> DynamoDbAsyncMappedTable<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.
|
DefaultDynamoDbEnhancedAsyncClient.Builder |
toBuilder() |
public static DefaultDynamoDbEnhancedAsyncClient.Builder builder()
DynamoDbEnhancedAsyncClientDynamoDbEnhancedAsyncClient.builder in interface DynamoDbEnhancedAsyncClientpublic <T> CompletableFuture<T> execute(DatabaseOperation<?,?,T> operation)
DynamoDbEnhancedAsyncClientexecute in interface DynamoDbEnhancedAsyncClientT - 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.public <T> DynamoDbAsyncMappedTable<T> table(String tableName, TableSchema<T> tableSchema)
DynamoDbEnhancedAsyncClienttable in interface DynamoDbEnhancedAsyncClientT - 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.public DynamoDbAsyncClient dynamoDbAsyncClient()
public MapperExtension mapperExtension()
public DefaultDynamoDbEnhancedAsyncClient.Builder toBuilder()
Copyright © 2020. All rights reserved.