MosaicDatabase

Functions

Link copied to clipboard
abstract suspend fun deletePlainData(dataKey: String)
Link copied to clipboard
abstract suspend fun deletePlainDataByIds(dataKeys: List<String>)
Link copied to clipboard
abstract suspend fun deleteSegmentedData(segmentKey: String, dataKey: String)
Link copied to clipboard
abstract suspend fun deleteSegmentedDataByIds(segmentKey: String, dataKeys: List<String>)
Link copied to clipboard
abstract suspend fun dropInitialGraphCache()
Link copied to clipboard
abstract suspend fun dropScreensCache()
Link copied to clipboard
abstract suspend fun dropVersionCache()
Link copied to clipboard
abstract suspend fun getAllPlainData(): Map<String, Any>?
Link copied to clipboard
abstract suspend fun getAllSegmentedData(segmentKey: String): Map<String, Any>?
Link copied to clipboard
abstract suspend fun getCacheVersion(): Long?
Link copied to clipboard
abstract suspend fun getInitialGraph(): GraphResponse?
Link copied to clipboard
abstract suspend fun getPlainData(dataKey: String): Any?
Link copied to clipboard
abstract suspend fun getPlainDataByIds(dataKeys: List<String>): Map<String, Any>?
Link copied to clipboard
abstract suspend fun getScreen(cacheKey: String): ScreenResponse?
Link copied to clipboard
abstract suspend fun getSegmentedData(segmentKey: String, dataKey: String): Any?
Link copied to clipboard
abstract suspend fun getSegmentedDataByIds(segmentKey: String, dataKeys: List<String>): Map<String, Any>?
Link copied to clipboard
abstract suspend fun setCacheVersion(version: Long)
Link copied to clipboard
abstract suspend fun setInitialGraph(initialGraph: GraphResponse)
Link copied to clipboard
abstract suspend fun setPlainData(dataKey: String, data: Any)
Link copied to clipboard
abstract suspend fun setScreen(cacheKey: String, screenResponse: ScreenResponse)
Link copied to clipboard
abstract suspend fun setSegmentedData(segmentKey: String, dataKey: String, data: Any)
Link copied to clipboard
abstract suspend fun wipePlainData()
Link copied to clipboard
abstract suspend fun wipeSegmentedData(segmentKey: String)