Packages

c

org.apache.spark.serializer

SerializerInstance

abstract class SerializerInstance extends AnyRef

Developer API

An instance of a serializer, for use by one thread at a time.

It is legal to create multiple serialization / deserialization streams from the same SerializerInstance as long as those streams are all used within the same thread.

Annotations
@DeveloperApi() @NotThreadSafe()
Source
Serializer.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SerializerInstance
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SerializerInstance()

Abstract Value Members

  1. abstract def deserialize[T](bytes: ByteBuffer, loader: ClassLoader)(implicit arg0: ClassTag[T]): T
  2. abstract def deserialize[T](bytes: ByteBuffer)(implicit arg0: ClassTag[T]): T
  3. abstract def deserializeStream(s: InputStream): DeserializationStream
  4. abstract def serialize[T](t: T)(implicit arg0: ClassTag[T]): ByteBuffer
  5. abstract def serializeStream(s: OutputStream): SerializationStream