public class BatchMapperIterator<T,R> extends WrappedIterator<R>
current| Constructor and Description |
|---|
BatchMapperIterator(int batch,
Iterator<T> origin,
java.util.function.Function<List<T>,Iterator<R>> mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
fetch() |
protected boolean |
fetchFromBatch() |
protected List<T> |
nextBatch() |
protected Iterator<T> |
originIterator() |
protected void |
resetBatchIterator() |
close, close, hasNext, metadata, next, none, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected Iterator<T> originIterator()
originIterator in class WrappedIterator<R>protected final boolean fetch()
fetch in class WrappedIterator<R>protected final boolean fetchFromBatch()
protected final void resetBatchIterator()
Copyright © 2021. All rights reserved.