@UserDefinedType marks a class as Cassandra user-defined type data. Use it when a table column stores structured values, such as ingredients inside a taco. section 4.1.3
Create a separate class rather than reusing an entity already annotated with @Table. The user-defined type can contain only the properties needed inside the column and need not mirror a table. section 4.1.3
Embedding ingredients in a taco
IngredientUDT uses @UserDefinedType("ingredient") and stores an ingredient name and type. Taco can then persist a list of these objects entirely inside its ingredients column.
