- 所有已实现的接口:
AutoCloseable, org.apache.pulsar.io.core.Sink<Person>
public class DataGeneratorPrintSink
extends Object
implements org.apache.pulsar.io.core.Sink<Person>
-
-
方法概要
void
void
void
write(org.apache.pulsar.functions.api.Record<Person> record)
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
DataGeneratorPrintSink
public DataGeneratorPrintSink()
-
方法详细资料
-
open
- 指定者:
open 在接口中 org.apache.pulsar.io.core.Sink<Person>
- 抛出:
Exception
-
write
public void write(org.apache.pulsar.functions.api.Record<Person> record)
throws Exception
- 指定者:
write 在接口中 org.apache.pulsar.io.core.Sink<Person>
- 抛出:
Exception
-