K - the type of the keys read from the shuffleV - the type of the values read from the shufflepublic class PartitioningShuffleReader<K,V> extends Reader<WindowedValue<KV<K,V>>>
Reader.AbstractReaderIterator<T>, Reader.DynamicSplitRequest, Reader.DynamicSplitResult, Reader.DynamicSplitResultWithPosition, Reader.Position, Reader.Progress, Reader.ReaderIterator<T>stateSampler, stateSamplerOperationName| Constructor and Description |
|---|
PartitioningShuffleReader(PipelineOptions options,
byte[] shuffleReaderConfig,
String startShufflePosition,
String stopShufflePosition,
Coder<WindowedValue<KV<K,V>>> coder) |
| Modifier and Type | Method and Description |
|---|---|
Reader.ReaderIterator<WindowedValue<KV<K,V>>> |
iterator()
Returns a ReaderIterator that allows reading from this source.
|
notifyElementRead, setStateSamplerAndOperationName, supportsRestartaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic PartitioningShuffleReader(PipelineOptions options, byte[] shuffleReaderConfig, String startShufflePosition, String stopShufflePosition, Coder<WindowedValue<KV<K,V>>> coder) throws Exception
Exceptionpublic Reader.ReaderIterator<WindowedValue<KV<K,V>>> iterator() throws IOException
Readeriterator in class Reader<WindowedValue<KV<K,V>>>IOException