Professional edition of phantom, with support for UDTs, tuples, materalized views, Spark, migrations.
- Add the
phantom-pro
resolvers and dependencies using the install guide - Read the rest of the documentation here.
UDTs or User Defined Types give you the opportunity to lift Scala case classes into natively supported Cassandra types. All operations are schemaful and unlike JSON columns for example, the duplication of "keys" is not necessary, meaning it's a lot more efficient to store custom types as UDTs than anything else.
Cassandra is capable of type-checking UDTs and they are typed even within Cassandra itself,
as every @Udt
annotation you use on a case class ends up becoming a CREATE TYPE
in Cassandra.