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
- All
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( ... ) @native() @IntrinsicCandidate()
-
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newInstance(): SerializerInstance
Creates a new SerializerInstance.
Creates a new SerializerInstance.
- Definition Classes
- JavaSerializer → Serializer
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
readExternal(in: ObjectInput): Unit
- Definition Classes
- JavaSerializer → Externalizable
-
def
setDefaultClassLoader(classLoader: ClassLoader): Serializer
Sets 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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