DynamicContainerCodec
Dynamic codec for PostgreSQL container types (Array, Composite, Range, Multirange, Record). It delegates the actual parsing and serialization to the ContainerCodec object.
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.
PostgreSQL type name.
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.