public class BoundedInMemoryExecutor<I,O,E> extends BaseHoodieQueueBasedExecutor<I,O,E>
consumer, queue| Constructor and Description |
|---|
BoundedInMemoryExecutor(long bufferLimitInBytes,
int recordSamplingRate,
int recordCacheLimit,
Iterator<I> inputItr,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
Runnable preExecuteRunnable) |
BoundedInMemoryExecutor(long bufferLimitInBytes,
int recordSamplingRate,
int recordCacheLimit,
List<HoodieProducer<I>> producers,
Option<HoodieConsumer<O,E>> consumer,
Function<I,O> transformFunction,
SizeEstimator<O> sizeEstimator,
Runnable preExecuteRunnable) |
BoundedInMemoryExecutor(long bufferLimitInBytes,
Iterator<I> inputItr,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
Runnable preExecuteRunnable) |
BoundedInMemoryExecutor(long bufferLimitInBytes,
List<HoodieProducer<I>> producers,
Option<HoodieConsumer<O,E>> consumer,
Function<I,O> transformFunction,
SizeEstimator<O> sizeEstimator,
Runnable preExecuteRunnable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConsume(HoodieMessageQueue<I,O> queue,
HoodieConsumer<O,E> consumer) |
Iterator<O> |
getRecordIterator() |
awaitTermination, doProduce, execute, isRunning, setUp, shutdownNow, startProducingAsyncpublic BoundedInMemoryExecutor(long bufferLimitInBytes,
Iterator<I> inputItr,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
Runnable preExecuteRunnable)
public BoundedInMemoryExecutor(long bufferLimitInBytes,
int recordSamplingRate,
int recordCacheLimit,
Iterator<I> inputItr,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
Runnable preExecuteRunnable)
public BoundedInMemoryExecutor(long bufferLimitInBytes,
List<HoodieProducer<I>> producers,
Option<HoodieConsumer<O,E>> consumer,
Function<I,O> transformFunction,
SizeEstimator<O> sizeEstimator,
Runnable preExecuteRunnable)
public BoundedInMemoryExecutor(long bufferLimitInBytes,
int recordSamplingRate,
int recordCacheLimit,
List<HoodieProducer<I>> producers,
Option<HoodieConsumer<O,E>> consumer,
Function<I,O> transformFunction,
SizeEstimator<O> sizeEstimator,
Runnable preExecuteRunnable)
protected void doConsume(HoodieMessageQueue<I,O> queue, HoodieConsumer<O,E> consumer)
doConsume in class BaseHoodieQueueBasedExecutor<I,O,E>Copyright © 2024 The Apache Software Foundation. All rights reserved.