Actual runtime Unpickler of tuples whose types are known.
Actual runtime Unpickler of tuples whose types are known.
Don't extend AbstractUnpickler because it is registered in RuntimePicklerRegistry with custom names.
Runtime Pickler and Unpickler of tuple with unknown types.
Looks up a Pickler for the given tag.
Looks up a Pickler for the given tag. If none is found, then we attempt to generate one.
The classloader to use when reflecting over the pickled class.
The clazz we need to pickle.
The full tag of the type we're pickling, which may or may not include type parameters.
Looks up the registered unpickler using the provided tagKey.
Looks up the registered unpickler using the provided tagKey.
If there are no registered picklers or pickler-generators, then we instead attempt to generate the pickler using the passed in information.
TODO(jsuereth) - This should use classLoader just like genPickler. No reason to mix Java/Scala reflection.
The scala mirror (classloader/symbolloader) we use to generate the unpickler.
The full tag of the type, which may or may not include type parameters.
Checks if lookup is enabled for this registry
Checks if lookup is enabled for this registry
Checks the existence of a pickler ignoring the registered generators.
Checks the existence of a pickler ignoring the registered generators.
Checks the existence of an unpickler ignoring the registered generators.
Checks the existence of an unpickler ignoring the registered generators.
Looks for a pickler with the given FastTypeTag string.
Looks for a pickler with the given FastTypeTag string.
Checks the existence of an unpickler.
Checks the existence of an unpickler.
Runtime Pickler and Unpickler for any Traversable.
Runtime Pickler and Unpickler for any Traversable.
Collection type
Elem runtime class
Elem tag type
Collection tag type
Registers a pickler with this registry for future use.
Registers a pickler with this registry for future use.
The type key for the pickler. Note: In reflective scenarios this may not include type parameters. In those situations, the pickler should be able to handle arbitrary (existential) type parameters.
The pickler to register.
Registers a function which can generate picklers for a given type constructor.
Registers a function which can generate picklers for a given type constructor.
The type constructor. e.g. "scala.List" for something that can make scala.List[A] picklers.
A function which takes an applied type string (your type + arguments) and returns a pickler for this type.
Registers a pickler and unpickler for a type with this registry for future use.
Registers a pickler and unpickler for a type with this registry for future use.
The type key for the pickler. Note: In reflective scenarios this may not include type parameters. In those situations, the pickler should be able to handle arbitrary (existential) type parameters.
The unpickler to register.
Registers a function which can generate picklers for a given type constructor.
Registers a function which can generate picklers for a given type constructor.
The type constructor. e.g. "scala.List" for something that can make scala.List[A] picklers.
A function which takes an applied type string (your type + arguments) and returns a pickler for this type.
Register templates (also known as generators) that know how to pickle and unpickle types at runtime without using reflection.
Register templates (also known as generators) that know how to pickle and unpickle types at runtime without using reflection.
Registers an unpickler with this registry for future use.
Registers an unpickler with this registry for future use.
The type key for the unpickler. Note: In reflective scenarios this may not include type parameters. In those situations, the unpickler should be able to handle arbitrary (existential) type parameters.
The unpickler to register.
Registers a function which can generate picklers for a given type constructor.
Registers a function which can generate picklers for a given type constructor.
The type constructor. e.g. "scala.List" for something that can make scala.List[A] picklers.
A function which takes an applied type string (your type + arguments) and returns a pickler for this type.
Default pickle registry just uses TrieMaps and delegates behavior to a runtime pickler generator.