Table
Represents a table in DynamoDB and an associated item schema. Operations on this table will invoke low-level operations after mapping objects to items and vice versa.
Type Parameters
T
The type of objects which will be read from and/or written to this table
Inheritors
Types
Link copied to clipboard
interface CompositeKey<T, PK : KeyType, SK : KeyType> : Table<T> , TableSpec.CompositeKey<T, PK, SK> , TableOperations.CompositeKey<T, PK, SK> , ItemSource.CompositeKey<T, PK, SK>
Represents a table whose primary key is a composite of a partition key and a sort key
Link copied to clipboard
interface PartitionKey<T, PK : KeyType> : Table<T> , TableSpec.PartitionKey<T, PK> , TableOperations.PartitionKey<T, PK> , ItemSource.PartitionKey<T, PK>
Represents a table whose primary key is a single partition key
Inherited properties
Link copied to clipboard
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
Functions
Link copied to clipboard
abstract fun <T, PK : KeyType, SK : KeyType> getIndex(name: String, schema: ItemSchema.CompositeKey<T, PK, SK>): Index.CompositeKey<T, PK, SK>
abstract fun <T, PK : KeyType> getIndex(name: String, schema: ItemSchema.PartitionKey<T, PK>): Index.PartitionKey<T, PK>
Get an Index reference for performing secondary index operations