Skip to content

//musiclibrary/app.cash.tempest.musiclibrary/MusicTable

MusicTable

[jvm]\ interface MusicTable : LogicalTable<MusicItem>

Properties

Name Summary
albumInfo [jvm]
abstract val albumInfo: InlineView<AlbumInfo.Key, AlbumInfo>
albumInfoByArtist [jvm]
abstract val albumInfoByArtist: SecondaryIndex<AlbumInfo.ArtistIndexOffset, AlbumInfo>
albumInfoByGenre [jvm]
abstract val albumInfoByGenre: SecondaryIndex<AlbumInfo.GenreIndexOffset, AlbumInfo>
albumTracks [jvm]
abstract val albumTracks: InlineView<AlbumTrack.Key, AlbumTrack>
albumTracksByTitle [jvm]
abstract val albumTracksByTitle: SecondaryIndex<AlbumTrack.TitleIndexOffset, AlbumTrack>
playlistInfo [jvm]
abstract val playlistInfo: InlineView<PlaylistInfo.Key, PlaylistInfo>

Functions

Name Summary
codec [jvm]
abstract fun <T : Any> codec(type: KClass<T>): Codec<T, MusicItem>
delete [jvm]
open fun delete(item: MusicItem)
open fun delete(item: MusicItem, deleteExpression: DynamoDBDeleteExpression)
open fun delete(item: MusicItem, ignoreVersionConstraints: Boolean)
abstract fun delete(item: MusicItem, deleteExpression: DynamoDBDeleteExpression?, ignoreVersionConstraints: Boolean)
deleteKey [jvm]
open fun deleteKey(key: MusicItem)
open fun deleteKey(key: MusicItem, deleteExpression: DynamoDBDeleteExpression)
open fun deleteKey(key: MusicItem, ignoreVersionConstraints: Boolean)
abstract fun deleteKey(key: MusicItem, deleteExpression: DynamoDBDeleteExpression?, ignoreVersionConstraints: Boolean)
inlineView [jvm]
abstract fun <K : Any, I : Any> inlineView(keyType: KClass<K>, itemType: KClass<I>): InlineView<K, I>
load [jvm]
open fun load(key: MusicItem): MusicItem?
abstract fun load(key: MusicItem, consistentReads: DynamoDBMapperConfig.ConsistentReads): MusicItem?
save [jvm]
open fun save(item: MusicItem): MusicItem
open fun save(item: MusicItem, saveExpression: DynamoDBSaveExpression): MusicItem
open fun save(item: MusicItem, ignoreVersionConstraints: Boolean): MusicItem
abstract fun save(item: MusicItem, saveExpression: DynamoDBSaveExpression?, ignoreVersionConstraints: Boolean): MusicItem
secondaryIndex [jvm]
abstract fun <K : Any, I : Any> secondaryIndex(keyType: KClass<K>, itemType: KClass<I>): SecondaryIndex<K, I>