class JavaSerializer extends Serializer with Externalizable
:: DeveloperApi :: A Spark serializer that uses Java's built-in serialization.
- Annotations
- @DeveloperApi()
- Source
- JavaSerializer.scala
- 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. 
- Alphabetic
- By Inheritance
- JavaSerializer
- Externalizable
- Serializable
- Serializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
-    var defaultClassLoader: Option[ClassLoader]Default ClassLoader to use in deserialization. Default ClassLoader to use in deserialization. Implementations of Serializer should make sure it is using this when set. - Attributes
- protected
- Definition Classes
- Serializer
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def newInstance(): SerializerInstanceCreates a new SerializerInstance. Creates a new SerializerInstance. - Definition Classes
- JavaSerializer → Serializer
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-    def readExternal(in: ObjectInput): Unit- Definition Classes
- JavaSerializer → Externalizable
 
-    def setDefaultClassLoader(classLoader: ClassLoader): SerializerSets a class loader for the serializer to use in deserialization. Sets a class loader for the serializer to use in deserialization. - returns
- this Serializer object 
 - Definition Classes
- Serializer
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-    def writeExternal(out: ObjectOutput): Unit- Definition Classes
- JavaSerializer → Externalizable
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9)