public interface KeyValueIterator<K,V>
Iterator. This
iterator can avoid using Tuple2 to wrap key and value.boolean advanceNext()
throws IOException
false if this iterator has no more kvs
and true otherwise. If this returns true, then the new kv can be retrieved by
calling getKey() and getValue().IOExceptionK getKey()
advanceNext() has returned false.V getValue()
advanceNext() has returned false.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.