This trait allows you to easily add serialization to your Spark
Models, assuming that they are completely parameterized by their constructor.
The main two fields required ate the TypeTag that allows the
writer to inspect the constructor to get the types that need to be serialized,
the actual objects that are serialized need to be defined in the field
objectsToSave.
This trait allows you to easily add serialization to your Spark Models, assuming that they are completely parameterized by their constructor. The main two fields required ate the
TypeTag
that allows the writer to inspect the constructor to get the types that need to be serialized, the actual objects that are serialized need to be defined in the field objectsToSave.