CompositeKey

Represents a source of DynamoDB items (such as a table or secondary index) whose primary key is a composite of a partition key and a sort key

Type Parameters

T

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

PK

The type of the partition key property, either KeyType or one of its specific derivations

SK

The type of the sort key property, either KeyType or one of its specific derivations

Inheritors

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

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

Inherited functions

Link copied to clipboard
abstract suspend fun query(request: QueryRequest.CompositeKey<PK, SK>): QueryResponse.CompositeKey<T, PK, SK>
Link copied to clipboard
abstract suspend fun scan(request: ScanRequest.CompositeKey<PK, SK>): ScanResponse.CompositeKey<T, PK, SK>