PartitionKey
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
Type Parameters
T
The type of objects which will be read from and/or written to this table
PK
The type of the partition key property, either KeyType or one of its specific derivations
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
Inherited functions
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun query(request: QueryRequest.PartitionKey<PK>): QueryResponse.PartitionKey<T, PK>
Link copied to clipboard
Link copied to clipboard