public class JavaSerializer extends Serializer implements java.io.Externalizable
Constructor and Description |
---|
JavaSerializer(SparkConf conf) |
Modifier and Type | Method and Description |
---|---|
SerializerInstance |
newInstance()
Creates a new
SerializerInstance . |
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
setDefaultClassLoader
public JavaSerializer(SparkConf conf)
public SerializerInstance newInstance()
Serializer
SerializerInstance
.newInstance
in class Serializer
public void readExternal(java.io.ObjectInput in)
readExternal
in interface java.io.Externalizable
public void writeExternal(java.io.ObjectOutput out)
writeExternal
in interface java.io.Externalizable