abstract class SerializationStream extends Closeable
A stream for writing serialized objects.
- Annotations
- @DeveloperApi()
- Source
- Serializer.scala
- Alphabetic
- By Inheritance
- SerializationStream
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SerializationStream()
Abstract Value Members
-
abstract
def
close(): Unit
- Definition Classes
- SerializationStream → Closeable → AutoCloseable
- abstract def flush(): Unit
-
abstract
def
writeObject[T](t: T)(implicit arg0: ClassTag[T]): SerializationStream
The most general-purpose method to write an object.
Concrete Value Members
- def writeAll[T](iter: Iterator[T])(implicit arg0: ClassTag[T]): SerializationStream
-
def
writeKey[T](key: T)(implicit arg0: ClassTag[T]): SerializationStream
Writes the object representing the key of a key-value pair.
-
def
writeValue[T](value: T)(implicit arg0: ClassTag[T]): SerializationStream
Writes the object representing the value of a key-value pair.