TableSpec

interface TableSpec<T> : PersistenceSpec<T>

Specifies how items can be read from and written to a table

Type Parameters

T

The type of objects which will be read from and/or written to this table

Inheritors

Types

Link copied to clipboard

Specifies how items can be read from or written to a table whose primary key consists of a composite of a partition key and a sort key

Link copied to clipboard

Specifies how items can be read from or written to a table whose primary key consists of a single partition key

Properties

Link copied to clipboard
abstract val tableName: String

The name of the table

Inherited properties

Link copied to clipboard
abstract val mapper: DynamoDbMapper

The DynamoDbMapper which holds the underlying DynamoDB service client used to invoke operations

Link copied to clipboard
abstract val schema: ItemSchema<T>

The ItemSchema which describes how to map objects to items and vice versa