canConvert
open override fun canConvert(sourceClass: KClass<*>, expectedType: KType, sourceType: PgType, context: DeserializationContext): Boolean
Decides whether this converter handles the value at hand. Must return false unless convert can produce an instance of expectedType.
Return
true to claim the value.
Parameters
sourceClass
The class of the decoded value.
expectedType
The Kotlin type the caller asked for, generic arguments included.
sourceType
The PostgreSQL type of the column.
context
Access to the type manager and to nested conversion.