public class HBaseWindowsLogEventSerializer extends Object implements org.apache.flume.sink.hbase.HbaseEventSerializer
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
cf |
| Constructor and Description |
|---|
HBaseWindowsLogEventSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.flume.conf.ComponentConfiguration conf) |
void |
configure(org.apache.flume.Context context) |
List<org.apache.hadoop.hbase.client.Row> |
getActions() |
List<org.apache.hadoop.hbase.client.Increment> |
getIncrements() |
protected byte[] |
getRowKey(String hostname) |
void |
initialize(org.apache.flume.Event event,
byte[] columnFamily) |
public void configure(org.apache.flume.Context context)
configure in interface org.apache.flume.conf.Configurablepublic void initialize(org.apache.flume.Event event,
byte[] columnFamily)
initialize in interface org.apache.flume.sink.hbase.HbaseEventSerializerprotected byte[] getRowKey(String hostname)
public List<org.apache.hadoop.hbase.client.Row> getActions()
getActions in interface org.apache.flume.sink.hbase.HbaseEventSerializerpublic List<org.apache.hadoop.hbase.client.Increment> getIncrements()
getIncrements in interface org.apache.flume.sink.hbase.HbaseEventSerializerpublic void close()
close in interface org.apache.flume.sink.hbase.HbaseEventSerializerpublic void configure(org.apache.flume.conf.ComponentConfiguration conf)
configure in interface org.apache.flume.conf.ConfigurableComponentCopyright © 2017. All rights reserved.