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[].
abstract fun decode(databaseValue: S): T |
|
abstract fun encode(value: T): S |
class EnumColumnAdapter<T : Enum<T>> : ColumnAdapter<T, String>
A ColumnAdapter which maps the enum class |