DynamoDbTableMapper

Constructors

Link copied to clipboard
constructor(dynamoDb: DynamoDb, tableName: TableName, primarySchema: DynamoDbTableMapperSchema<Document, HashKey, SortKey>)

Functions

Link copied to clipboard
@JvmName(name = "batchDeleteKeyPairs")
fun batchDelete(keys: Collection<Pair<HashKey, SortKey?>>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun batchSave(documents: Collection<Document>)
Link copied to clipboard
Link copied to clipboard
fun delete(document: Document)
fun delete(hashKey: HashKey, sortKey: SortKey? = null)
Link copied to clipboard
Link copied to clipboard
operator fun get(hashKey: HashKey, sortKey: SortKey? = null): Document?
Link copied to clipboard
Link copied to clipboard
operator fun <Document : Any> DynamoDbTableMapper<Document, *, *>.minusAssign(document: Document)
Link copied to clipboard
operator fun <Document : Any> DynamoDbTableMapper<Document, *, *>.plusAssign(document: Document)
Link copied to clipboard
fun save(document: Document)
Link copied to clipboard
fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDbTableMapper<Document, HashKey, SortKey>.update(hashKey: HashKey, sortKey: SortKey? = null, updateFn: (Document) -> Document): Document?