public class BatchDataGeneratorSource extends Object implements BatchSource<Person>
| 构造器和说明 |
|---|
BatchDataGeneratorSource() |
public void open(Map<String,Object> config, SourceContext sourceContext)
open 在接口中 BatchSource<Person>public void discover(Consumer<byte[]> taskEater)
discover 在接口中 BatchSource<Person>public void prepare(byte[] instanceSplit)
prepare 在接口中 BatchSource<Person>public org.apache.pulsar.functions.api.Record<Person> readNext() throws Exception
readNext 在接口中 BatchSource<Person>Exceptionpublic void close()
close 在接口中 AutoCloseableCopyright © 2017–2021 Apache Software Foundation. All rights reserved.