public class BatchDataGeneratorPushSource extends BatchPushSource<Person> implements Runnable
| 构造器和说明 |
|---|
BatchDataGeneratorPushSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 AutoCloseablepublic void open(Map config, SourceContext context) throws Exception
open 在接口中 BatchSource<Person>Exceptionpublic void discover(Consumer taskEater) throws Exception
discover 在接口中 BatchSource<Person>Exceptionpublic void prepare(byte[] instanceSplit)
throws Exception
prepare 在接口中 BatchSource<Person>ExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.