public interface AsyncHbaseEventSerializer extends Configurable, ConfigurableComponent
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanUp()
Clean up any state. 
 | 
List<org.hbase.async.PutRequest> | 
getActions()
Get the actions that should be written out to hbase as a result of this
 event. 
 | 
List<org.hbase.async.AtomicIncrementRequest> | 
getIncrements()
Get the increments that should be made in hbase as a result of this
 event. 
 | 
void | 
initialize(byte[] table,
          byte[] cf)
Initialize the event serializer. 
 | 
void | 
setEvent(Event event)  | 
configureconfigurevoid initialize(byte[] table,
                byte[] cf)
table - - The table the serializer should use when creating
 PutRequest or
 AtomicIncrementRequest.cf - - The column family to be used.void setEvent(Event event)
event - Event to be written to HBaseList<org.hbase.async.PutRequest> getActions()
PutRequest which
 are written as such to HBase.List<org.hbase.async.AtomicIncrementRequest> getIncrements()
AtomicIncrementRequest which
 are written as such to HBase.void cleanUp()
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.