Type-class for expressing dependent kryo-registrations that should go along with a given type T, e.g.
Type-class for expressing dependent kryo-registrations that should go along with a given type T, e.g. when T's serialization/deserialization requires serde of other types.
Wrapper for a Class that should be directly kryo-registered, along with an Array-wrapped counterpart.
Trait for encapsulating related sets of kryo-registrations.
Trait for encapsulating related sets of kryo-registrations.
The register
method supports a variable number of Registrations.
Can be used directly as a org.apache.spark.serializer.KryoRegistrator (see spark.Registrator and spark.Registrar) passed to a org.apache.spark.SparkConf / org.apache.spark.SparkContext, or can be mixed-in to e.g. companion objects of classes to record kryo-registrations required by the Spark operations in the corresponding class, and composed with downstream Registrars (see implicit conversion to Registration via Registration.registratorToRegistration) to track and reuse relevant groups of registrations.
Base for (conveniently, implicitly) performing kryo-registrations given various kinds of inputs.
Base for (conveniently, implicitly) performing kryo-registrations given various kinds of inputs.
Class instances are the default / base case (and can come with an attendant implicit Serializer and related/required registrations via the AlsoRegister type-class), but Registrars and Registrators can be composed seamlessly as well for easy reuse of groups of registrations.
Shorthands for registering classes and their Array-counterparts
Generate a kryo Serializer that delegates to another type and its Serializer