public abstract class HbaseAbstractSink<T> extends Object implements Sink<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
HbaseAbstractSink.TableDefinition |
| Modifier and Type | Field and Description |
|---|---|
protected HbaseAbstractSink.TableDefinition |
tableDefinition |
| Constructor and Description |
|---|
HbaseAbstractSink() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
bindValue(org.apache.pulsar.functions.api.Record<T> message,
List<org.apache.hadoop.hbase.client.Put> puts) |
void |
close() |
void |
open(Map<String,Object> config,
SinkContext sinkContext) |
void |
write(org.apache.pulsar.functions.api.Record<T> record) |
protected HbaseAbstractSink.TableDefinition tableDefinition
public void open(Map<String,Object> config, SinkContext sinkContext) throws Exception
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.