Package org.apache.kafka.streams.state
Interface KeyValueIterator<K,V>
-
- Type Parameters:
K- Type of keysV- Type of values
- All Superinterfaces:
AutoCloseable,Closeable,Iterator<KeyValue<K,V>>
- All Known Subinterfaces:
WindowStoreIterator<V>
public interface KeyValueIterator<K,V> extends Iterator<KeyValue<K,V>>, Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()KpeekNextKey()Peek at the next key without advancing the iterator-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
peekNextKey
K peekNextKey()
Peek at the next key without advancing the iterator- Returns:
- the key of the next value that would be returned from the next call to next
-
-