public class InfluxDBGenericRecordSink extends Object implements Sink<org.apache.pulsar.client.api.schema.GenericRecord>
| Modifier and Type | Field and Description |
|---|---|
protected Sink<org.apache.pulsar.client.api.schema.GenericRecord> |
sink |
| Constructor and Description |
|---|
InfluxDBGenericRecordSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(Map<String,Object> map,
SinkContext sinkContext) |
void |
write(org.apache.pulsar.functions.api.Record<org.apache.pulsar.client.api.schema.GenericRecord> record) |
protected Sink<org.apache.pulsar.client.api.schema.GenericRecord> sink
public void open(Map<String,Object> map, SinkContext sinkContext) throws Exception
public void write(org.apache.pulsar.functions.api.Record<org.apache.pulsar.client.api.schema.GenericRecord> record)
throws Exception
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.