public static interface AvroSourceProtocol.Callback extends AvroSourceProtocol
AvroSourceProtocol.Callback| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Protocol |
PROTOCOL |
| Modifier and Type | Method and Description |
|---|---|
void |
append(AvroFlumeEvent event,
org.apache.avro.ipc.Callback<Status> callback) |
void |
appendBatch(List<AvroFlumeEvent> events,
org.apache.avro.ipc.Callback<Status> callback) |
append, appendBatchvoid append(AvroFlumeEvent event, org.apache.avro.ipc.Callback<Status> callback) throws IOException
IOExceptionvoid appendBatch(List<AvroFlumeEvent> events, org.apache.avro.ipc.Callback<Status> callback) throws IOException
IOExceptionCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.