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 Summary
-
Method Summary
Methods inherited from class org.apache.spark.serializer.Serializer
setDefaultClassLoader
-
Constructor Details
-
JavaSerializer
-
-
Method Details
-
newInstance
Description copied from class:Serializer
Creates a newSerializerInstance
.- Specified by:
newInstance
in classSerializer
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
-