public interface MappedDatabase
DynamoDbMappedDatabase for an
implementation of this interface that can statically created.| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(DatabaseOperation<?,?,T> operation)
Executes a command against the database.
|
<T> MappedTable<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> 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.<T> MappedTable<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.MappedTable object that can be used to execute table operations against.Copyright © 2020. All rights reserved.