public class SerializedKeyValueIterator<K,V>
extends java.lang.Object
implements java.util.Iterator<com.indeed.util.core.Pair<K,V>>, java.io.Closeable
| Constructor and Description |
|---|
SerializedKeyValueIterator(java.io.InputStream input,
SmartSerializer<K> keySerializer,
SmartSerializer<V> valueSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
boolean |
hasNext() |
com.indeed.util.core.Pair<K,V> |
next() |
void |
remove() |
public SerializedKeyValueIterator(java.io.InputStream input,
SmartSerializer<K> keySerializer,
SmartSerializer<V> valueSerializer)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic boolean hasNext()
Copyright © 2018. All Rights Reserved.