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>
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-