Skip to content
Javier edited this page Mar 20, 2021 · 3 revisions

How the library works

This library uses Shapeless and Type Class derivations to allow transformation between different types.

There are an ADT SqlType and two Type Classes in the Core of the library, and specification of those Type Classes in each module, allowing automatic transformations (CustomType <-> SqlType <-> CustomType) between types from modules.

This is a guide on how to add a new type to the library

Actually, there are transformations between Scala types (and Case Classes), BigQuery and Apache Spark

Clone this wiki locally