ColumnAdapter

interface ColumnAdapter<T : Any, S>

Marshal and map the type T to and from a database type S which is one of Long, Double, String, byte[].

Functions

decode
Link copied to clipboard
common
abstract fun decode(databaseValue: S): T
encode
Link copied to clipboard
common
abstract fun encode(value: T): S

Inheritors

EnumColumnAdapter
Link copied to clipboard