Packages

c

org.apache.spark.serializer

DeserializationStream

abstract class DeserializationStream extends Closeable

Developer API

A stream for reading serialized objects.

Annotations
@DeveloperApi()
Source
Serializer.scala
Linear Supertypes
Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeserializationStream
  2. Closeable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeserializationStream()

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    DeserializationStream → Closeable → AutoCloseable
  2. abstract def readObject[T]()(implicit arg0: ClassTag[T]): T

    The most general-purpose method to read an object.

Concrete Value Members

  1. def asIterator: Iterator[Any]

    Read the elements of this stream through an iterator.

    Read the elements of this stream through an iterator. This can only be called once, as reading each element will consume data from the input source.

  2. def asKeyValueIterator: Iterator[(Any, Any)]

    Read the elements of this stream through an iterator over key-value pairs.

    Read the elements of this stream through an iterator over key-value pairs. This can only be called once, as reading each element will consume data from the input source.

  3. def readKey[T]()(implicit arg0: ClassTag[T]): T

    Reads the object representing the key of a key-value pair.

  4. def readValue[T]()(implicit arg0: ClassTag[T]): T

    Reads the object representing the value of a key-value pair.