Package org.apache.kafka.streams.state
Interface WindowStoreIterator<V>
-
- Type Parameters:
V
- Type of values
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,java.util.Iterator<KeyValue<java.lang.Long,V>>
,KeyValueIterator<java.lang.Long,V>
public interface WindowStoreIterator<V> extends KeyValueIterator<java.lang.Long,V>, java.io.Closeable
Iterator interface ofKeyValue
with key typedLong
used forWindowStore.fetch(Object, long, long)
andWindowStore.fetch(Object, Instant, Instant)
Users must call itsclose
method explicitly upon completeness to release resources, or use try-with-resources statement (available since JDK7) for thisCloseable
class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-
Methods inherited from interface org.apache.kafka.streams.state.KeyValueIterator
peekNextKey
-
-
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceKeyValueIterator<java.lang.Long,V>
-
-