abstract class DeserializationStream extends Closeable
A stream for reading serialized objects.
- Annotations
- @DeveloperApi()
- Source
- Serializer.scala
- Alphabetic
- By Inheritance
- DeserializationStream
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeserializationStream()
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- DeserializationStream → Closeable → AutoCloseable
- abstract def readObject[T]()(implicit arg0: ClassTag[T]): T
The most general-purpose method to read an object.
Concrete Value Members
- 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.
- 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.
- def readKey[T]()(implicit arg0: ClassTag[T]): T
Reads the object representing the key of a key-value pair.
- def readValue[T]()(implicit arg0: ClassTag[T]): T
Reads the object representing the value of a key-value pair.