Mapper Read Key Value Repo
open class MapperReadKeyValueRepo<FromKey, FromValue, ToKey, ToValue>(to: ReadKeyValueRepo<ToKey, ToValue>, mapper: MapperRepo<FromKey, FromValue, ToKey, ToValue>) : ReadKeyValueRepo<FromKey, FromValue> , MapperRepo<FromKey, FromValue, ToKey, ToValue>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <FromKey, FromValue, ToKey, ToValue> MapperReadKeyValueRepo(to: ReadKeyValueRepo<ToKey, ToValue>, mapper: MapperRepo<FromKey, FromValue, ToKey, ToValue>)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<FromKey>
Content copied to clipboard
open suspend override fun keys( v: FromValue, pagination: Pagination, reversed: Boolean): PaginationResult<FromKey>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<FromValue>
Content copied to clipboard
This method should use sorted by Keys search and take the PaginationResult. By default, it should use ascending sort for Keys
Properties
Link copied to clipboard
open override val valueMapper: SimpleSuspendableMapper<FromValue, ToValue>
Content copied to clipboard