T - the type of the elements read from the sourcepublic class InMemoryReader<T> extends Reader<T>
Reader.AbstractReaderIterator<T>, Reader.DynamicSplitRequest, Reader.DynamicSplitResult, Reader.DynamicSplitResultWithPosition, Reader.Position, Reader.Progress, Reader.ReaderIterator<T>stateSampler, stateSamplerOperationName| Constructor and Description |
|---|
InMemoryReader(List<String> encodedElements,
Long startIndex,
Long endIndex,
Coder<T> coder) |
| Modifier and Type | Method and Description |
|---|---|
Reader.ReaderIterator<T> |
iterator()
Returns a ReaderIterator that allows reading from this source.
|
notifyElementRead, setStateSamplerAndOperationName, supportsRestartaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic Reader.ReaderIterator<T> iterator() throws IOException
Readeriterator in class Reader<T>IOException