Modifier and Type | Class and Description |
---|---|
class |
RecordsBySplits<E>
An implementation of RecordsWithSplitIds to host all the records by splits.
|
Constructor and Description |
---|
SingleThreadFetcherManager(FutureCompletingBlockingQueue<RecordsWithSplitIds<E>> elementsQueue,
java.util.function.Supplier<SplitReader<E,SplitT>> splitReaderSupplier)
Creates a new SplitFetcherManager with a single I/O threads.
|
SplitFetcherManager(FutureCompletingBlockingQueue<RecordsWithSplitIds<E>> elementsQueue,
java.util.function.Supplier<SplitReader<E,SplitT>> splitReaderFactory)
Create a split fetcher manager.
|
Modifier and Type | Method and Description |
---|---|
RecordsWithSplitIds<E> |
SplitReader.fetch()
Fetch elements into the blocking queue for the given splits.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.