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