ColumnTransformer

An interface defining the transformation between a source column type and a target type.

Parameters

Wrapped

The type of the column values after transformation

Unwrapped

The type of the column values without transformation

Functions

Link copied to clipboard
abstract fun unwrap(value: Wrapped): Unwrapped

Returns the underlying column value without a transformation applied (Wrapped ->Unwrapped).

Link copied to clipboard
abstract fun wrap(value: Unwrapped): Wrapped

Applies transformation to the underlying column value (Unwrapped ->Wrapped)