@ThreadSafe public class DefaultDynamoDbEnhancedClient extends Object implements DynamoDbEnhancedClient
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultDynamoDbEnhancedClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultDynamoDbEnhancedClient.Builder |
builder()
Creates a default builder for
DynamoDbEnhancedClient. |
DynamoDbClient |
dynamoDbClient() |
boolean |
equals(Object o) |
<T> T |
execute(DatabaseOperation<?,?,T> operation)
Executes a command against the database.
|
int |
hashCode() |
MapperExtension |
mapperExtension() |
<T> DynamoDbMappedTable<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.
|
DefaultDynamoDbEnhancedClient.Builder |
toBuilder() |
public static DefaultDynamoDbEnhancedClient.Builder builder()
DynamoDbEnhancedClientDynamoDbEnhancedClient.builder in interface DynamoDbEnhancedClientpublic <T> T execute(DatabaseOperation<?,?,T> operation)
DynamoDbEnhancedClientexecute in interface DynamoDbEnhancedClientT - 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.public <T> DynamoDbMappedTable<T> table(String tableName, TableSchema<T> tableSchema)
DynamoDbEnhancedClienttable in interface DynamoDbEnhancedClientT - 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.MappedTable object that can be used to execute table operations against.public DynamoDbClient dynamoDbClient()
public MapperExtension mapperExtension()
public DefaultDynamoDbEnhancedClient.Builder toBuilder()
Copyright © 2020. All rights reserved.