public abstract class DeserializationStream
extends Object
implements java.io.Closeable
Constructor and Description |
---|
DeserializationStream() |
Modifier and Type | Method and Description |
---|---|
scala.collection.Iterator<Object> |
asIterator()
Read the elements of this stream through an iterator.
|
scala.collection.Iterator<scala.Tuple2<Object,Object>> |
asKeyValueIterator()
Read the elements of this stream through an iterator over key-value pairs.
|
abstract void |
close() |
<T> T |
readKey(scala.reflect.ClassTag<T> evidence$9)
Reads the object representing the key of a key-value pair.
|
abstract <T> T |
readObject(scala.reflect.ClassTag<T> evidence$8)
The most general-purpose method to read an object.
|
<T> T |
readValue(scala.reflect.ClassTag<T> evidence$10)
Reads the object representing the value of a key-value pair.
|
public scala.collection.Iterator<Object> asIterator()
public scala.collection.Iterator<scala.Tuple2<Object,Object>> asKeyValueIterator()
public abstract void close()
close
in interface java.io.Closeable
close
in interface AutoCloseable
public <T> T readKey(scala.reflect.ClassTag<T> evidence$9)
public abstract <T> T readObject(scala.reflect.ClassTag<T> evidence$8)
public <T> T readValue(scala.reflect.ClassTag<T> evidence$10)