I - Item type produced for the buffer.public class IteratorBasedQueueProducer<I> extends Object implements HoodieProducer<I>
| Constructor and Description |
|---|
IteratorBasedQueueProducer(Iterator<I> inputIterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
produce(HoodieMessageQueue<I,?> queue)
API to enqueue entries to bounded queue.
|
public void produce(HoodieMessageQueue<I,?> queue) throws Exception
HoodieProducerproduce in interface HoodieProducer<I>queue - In Memory bounded queueExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface HoodieProducer<I>Copyright © 2024 The Apache Software Foundation. All rights reserved.