public class FlumeEventAvroEventSerializer extends AbstractAvroEventSerializer<Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
FlumeEventAvroEventSerializer.Builder |
CTX_PREFIX| Modifier and Type | Method and Description |
|---|---|
protected Event |
convert(Event event)
A no-op for this simple, special-case implementation
|
protected OutputStream |
getOutputStream()
Returns the stream to serialize data into.
|
protected org.apache.avro.Schema |
getSchema()
Returns the parsed Avro schema corresponding to the data being written
and the parameterized type specified.
|
afterCreate, afterReopen, beforeClose, configure, flush, supportsReopen, writeprotected org.apache.avro.Schema getSchema()
AbstractAvroEventSerializergetSchema in class AbstractAvroEventSerializer<Event>protected OutputStream getOutputStream()
AbstractAvroEventSerializergetOutputStream in class AbstractAvroEventSerializer<Event>protected Event convert(Event event)
convert in class AbstractAvroEventSerializer<Event>event - Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.