public class BatchDataGeneratorPushSource extends BatchPushSource<Person> implements Runnable
| Constructor and Description |
|---|
BatchDataGeneratorPushSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
discover(Consumer taskEater) |
void |
open(Map config,
SourceContext context) |
void |
prepare(byte[] instanceSplit) |
void |
run() |
consume, getQueueLength, notifyError, readNextpublic void close()
close in interface AutoCloseablepublic void open(Map config, SourceContext context) throws Exception
open in interface BatchSource<Person>Exceptionpublic void discover(Consumer taskEater) throws Exception
discover in interface BatchSource<Person>Exceptionpublic void prepare(byte[] instanceSplit)
throws Exception
prepare in interface BatchSource<Person>ExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.