Package org.apache.spark.serializer
Class JavaSerializer
Object
org.apache.spark.serializer.Serializer
org.apache.spark.serializer.JavaSerializer
- All Implemented Interfaces:
- Externalizable,- Serializable
:: DeveloperApi ::
 A Spark serializer that uses Java's built-in serialization.
 
- See Also:
- Note:
- This serializer is not guaranteed to be wire-compatible across different versions of Spark. It is intended to be used to serialize/de-serialize data within a single Spark application.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.spark.serializer.SerializersetDefaultClassLoader
- 
Constructor Details- 
JavaSerializer
 
- 
- 
Method Details- 
newInstanceDescription copied from class:SerializerCreates a newSerializerInstance.- Specified by:
- newInstancein class- Serializer
 
- 
readExternal- Specified by:
- readExternalin interface- Externalizable
 
- 
writeExternal- Specified by:
- writeExternalin interface- Externalizable
 
 
-