public abstract class Serializer
extends Object
SerializerInstance objects that do the actual
 serialization and are guaranteed to only be called from one thread at a time.
 Implementations of this trait should implement:
 1. a zero-arg constructor or a constructor that accepts a SparkConf
 as parameter. If both constructors are defined, the latter takes precedence.
 
2. Java serialization interface.
| Constructor and Description | 
|---|
Serializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SerializerInstance | 
newInstance()
Creates a new  
SerializerInstance. | 
Serializer | 
setDefaultClassLoader(ClassLoader classLoader)
Sets a class loader for the serializer to use in deserialization. 
 | 
public abstract SerializerInstance newInstance()
SerializerInstance.public Serializer setDefaultClassLoader(ClassLoader classLoader)
classLoader - (undocumented)