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 SummaryConstructors
- 
Method SummaryModifier 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- 
SerializationStreampublic SerializationStream()
 
- 
- 
Method Details- 
closepublic abstract void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
- 
flushpublic abstract void flush()
- 
writeAllpublic <T> SerializationStream writeAll(scala.collection.Iterator<T> iter, scala.reflect.ClassTag<T> evidence$7) 
- 
writeKeyWrites the object representing the key of a key-value pair.
- 
writeObjectThe most general-purpose method to write an object.
- 
writeValueWrites the object representing the value of a key-value pair.
 
-