Class QueryCursorImpl.LazyIterator<Type>
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.QueryCursorImpl.LazyIterator<Type>
-
- All Implemented Interfaces:
AutoCloseable,Iterator<Type>
- Enclosing class:
- QueryCursorImpl<T>
public class QueryCursorImpl.LazyIterator<Type> extends Object implements Iterator<Type>, AutoCloseable
Iterator wrapper for lazy results. Updates cursor state when all rows are read, otherwise just delegates invocation.
-
-
Constructor Summary
Constructors Constructor Description LazyIterator(Iterator<Type> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidforEachRemaining(Consumer<? super Type> action)booleanhasNext()Typenext()voidremove()
-
-
-
Method Detail
-
forEachRemaining
public void forEachRemaining(Consumer<? super Type> action)
- Specified by:
forEachRemainingin interfaceIterator<Type>
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-