Package org.apache.spark.serializer
Class SerializationStream
Object
org.apache.spark.serializer.SerializationStream
- All Implemented Interfaces:
 Closeable,AutoCloseable
:: DeveloperApi ::
 A stream for writing serialized objects.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()abstract voidflush()writeAll(scala.collection.Iterator<T> iter, scala.reflect.ClassTag<T> evidence$7) writeKey(T key, scala.reflect.ClassTag<T> evidence$5) Writes the object representing the key of a key-value pair.abstract <T> SerializationStreamwriteObject(T t, scala.reflect.ClassTag<T> evidence$4) The most general-purpose method to write an object.writeValue(T value, scala.reflect.ClassTag<T> evidence$6) Writes the object representing the value of a key-value pair. 
- 
Constructor Details
- 
SerializationStream
public SerializationStream() 
 - 
 - 
Method Details
- 
close
public abstract void close()- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable
 - 
flush
public abstract void flush() - 
writeAll
public <T> SerializationStream writeAll(scala.collection.Iterator<T> iter, scala.reflect.ClassTag<T> evidence$7)  - 
writeKey
Writes the object representing the key of a key-value pair. - 
writeObject
The most general-purpose method to write an object. - 
writeValue
Writes the object representing the value of a key-value pair. 
 -