E- The type of events returned by the reader.
IterT- The type of the iterator that produces the events. This type exists to make the conversion between iterator and
SplitT- The concrete type of the
IteratorSourceSplitthat creates and converts the iterator that produces this reader's elements.
@Public public class IteratorSourceReader<E,IterT extends Iterator<E>,SplitT extends IteratorSourceSplit<E,IterT>> extends IteratorSourceReaderBase<E,E,IterT,SplitT>
SourceReaderthat returns the values of an iterator, supplied via an
IteratorSourceSplit is also responsible for taking the current iterator and
turning it back into a split for checkpointing.
|Constructor and Description|
|Modifier and Type||Method and Description|
addSplits, close, isAvailable, notifyNoMoreSplits, pollNext, snapshotState, start, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleSourceEvents, notifyCheckpointComplete, pauseOrResumeSplits
public IteratorSourceReader(SourceReaderContext context)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.