Constructors

Functions

Link copied to clipboard
open suspend override fun contains(k: FromKey): Boolean
open suspend override fun contains(k: FromKey, v: FromValue): Boolean
Link copied to clipboard
open suspend override fun count(): Long
open suspend override fun count(k: FromKey): Long
Link copied to clipboard
open suspend override fun get(k: FromKey, pagination: Pagination, reversed: Boolean): PaginationResult<FromValue>
Link copied to clipboard
open suspend fun getAll(reverseLists: Boolean = false): Map<FromKey, List<FromValue>>

WARNING!!! THIS METHOD PROBABLY IS NOT EFFICIENT, USE WITH CAUTION

open suspend fun getAll(k: FromKey, reversed: Boolean = false): List<FromValue>
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<FromKey>
open suspend override fun keys(v: FromValue, pagination: Pagination, reversed: Boolean): PaginationResult<FromKey>
Link copied to clipboard
open suspend override fun ToKey.toInnerKey(): FromKey
Link copied to clipboard
open suspend override fun ToValue.toInnerValue(): FromValue
Link copied to clipboard
open suspend override fun FromKey.toOutKey(): ToKey
Link copied to clipboard
open suspend override fun FromValue.toOutValue(): ToValue

Properties

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
inline fun <FromKey, FromValue, ToKey, ToValue> ReadKeyValuesRepo<ToKey, ToValue>.withMapper(noinline keyFromToTo: suspend FromKey.() -> ToKey = { this as ToKey }, noinline valueFromToTo: suspend FromValue.() -> ToValue = { this as ToValue }, noinline keyToToFrom: suspend ToKey.() -> FromKey = { this as FromKey }, noinline valueToToFrom: suspend ToValue.() -> FromValue = { this as FromValue }): ReadKeyValuesRepo<FromKey, FromValue>