K - The key type.V - The value type.public static class AvroKeyValue.Iterator<K,V> extends Object implements Iterator<AvroKeyValue<K,V>>
| Constructor and Description |
|---|
Iterator(Iterator<? extends GenericRecord> genericIterator)
Constructs an iterator over key-value map entries out of a generic iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
AvroKeyValue<K,V> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic Iterator(Iterator<? extends GenericRecord> genericIterator)
genericIterator - An iterator over some generic record entries.public boolean hasNext()
hasNext in interface Iterator<AvroKeyValue<K,V>>public AvroKeyValue<K,V> next()
next in interface Iterator<AvroKeyValue<K,V>>public void remove()
remove in interface Iterator<AvroKeyValue<K,V>>Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.