DynamicDomainCodec
Codec for PostgreSQL domain types, which are essentially custom types based on underlying base types. It delegates serialization and deserialization to the codec of the base type.
Type Parameters
The Kotlin type of the underlying base type.
Constructors
Properties
Function to deserialize a value from a PostgreSQL binary format.
Whether this codec is the default for its Kotlin type.
The Kotlin class this codec handles.
The name of the domain type in PostgreSQL.
Function to serialize a value to a PostgreSQL binary format.
Functions
Safely decodes a value using this TypeCodec. Any standard exceptions (like IllegalArgumentException or IllegalStateException) thrown by the codec's TypeCodec.fromBinary method are caught and wrapped in a CodecException.
Safely encodes a value using this TypeCodec. Any standard exceptions (like IllegalArgumentException or IllegalStateException) thrown by the codec's TypeCodec.toBinary method are caught and wrapped in a CodecException.