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 |
---|
AvroKeyValue.Iterator(Iterator<? extends GenericRecord> genericIterator)
Constructs an iterator over key-value map entries out of a generic iterator.
|
public AvroKeyValue.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-2012 The Apache Software Foundation. All Rights Reserved.