public class GridSpiCloseableIteratorWrapper<T> extends GridCloseableIteratorAdapter<T>
IgniteSpiCloseableIterator to GridCloseableIterator.| Constructor and Description |
|---|
GridSpiCloseableIteratorWrapper(IgniteSpiCloseableIterator<T> iter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onClose()
Invoked on iterator close.
|
protected boolean |
onHasNext() |
protected T |
onNext() |
protected void |
onRemove()
Called on remove from iterator.
|
checkClosed, close, hasNextX, isClosed, nextX, removeXhasNext, iterator, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorforEachRemaining, hasNext, next, removepublic GridSpiCloseableIteratorWrapper(IgniteSpiCloseableIterator<T> iter)
iter - Spi iterator.protected T onNext() throws IgniteCheckedException
onNext in class GridCloseableIteratorAdapter<T>IgniteCheckedException - If failed.protected boolean onHasNext()
throws IgniteCheckedException
onHasNext in class GridCloseableIteratorAdapter<T>True if iterator has next element.IgniteCheckedException - If failed.protected void onClose()
throws IgniteCheckedException
onClose in class GridCloseableIteratorAdapter<T>IgniteCheckedException - If closing failed.protected void onRemove()
throws IgniteCheckedException
onRemove in class GridCloseableIteratorAdapter<T>IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020