Package-level declarations

Types

Link copied to clipboard
internal object ContainerCodec

Utility object for parsing and serializing PostgreSQL container types. Supports arrays, composites, records, ranges, and multiranges.

Link copied to clipboard
internal class DynamicContainerCodec<T : PgContainer>(val oid: Int, val pgTypeName: String, val pgSchema: String, val kotlinClass: KClass<T>, typeRegistry: TypeRegistry) : TypeCodec<T>

Dynamic codec for PostgreSQL container types (Array, Composite, Range, Multirange, Record). It delegates the actual parsing and serialization to the ContainerCodec object.

Link copied to clipboard
internal class DynamicDomainCodec<T : Any>(val oid: Int, val pgTypeName: String, val pgSchema: String, baseTypeOid: Int, typeRegistry: TypeRegistry) : TypeCodec<T>

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.

Link copied to clipboard
internal class DynamicEnumCodec(val oid: Int, val pgTypeName: String, val pgSchema: String) : TypeCodec<String>

Codec for PostgreSQL enum types. It maps enum values to Kotlin strings during serialization and deserialization.