Package org.apache.kafka.streams.state
Interface WindowStoreIterator<V>
-
- Type Parameters:
V- Type of values
- All Superinterfaces:
AutoCloseable,Closeable,Iterator<KeyValue<Long,V>>,KeyValueIterator<Long,V>
public interface WindowStoreIterator<V> extends KeyValueIterator<Long,V>, Closeable
Iterator interface ofKeyValuewith key typedLongused forWindowStore.fetch(Object, long, long)andWindowStore.fetch(Object, Instant, Instant)Users must call itsclosemethod explicitly upon completeness to release resources, or use try-with-resources statement (available since JDK7) for thisCloseableclass.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface org.apache.kafka.streams.state.KeyValueIterator
peekNextKey
-
-
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceKeyValueIterator<Long,V>
-
-