@InterfaceAudience.Public @InterfaceStability.Evolving public interface KuduOperationsProducer extends org.apache.flume.conf.Configurable, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any state.
|
List<Operation> |
getOperations(org.apache.flume.Event event)
Returns the operations that should be written to Kudu as a result of this event.
|
void |
initialize(KuduTable table)
Initializes the operations producer.
|
void initialize(KuduTable table)
table
- the KuduTable used to create Kudu Operation objectsList<Operation> getOperations(org.apache.flume.Event event)
event
- Event to convert to one or more Operationsvoid close()
close
in interface AutoCloseable
Copyright © 2017 The Apache Software Foundation. All rights reserved.