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, write
protected org.apache.avro.Schema getSchema()
AbstractAvroEventSerializer
getSchema
in class AbstractAvroEventSerializer<Event>
protected OutputStream getOutputStream()
AbstractAvroEventSerializer
getOutputStream
in class AbstractAvroEventSerializer<Event>
protected Event convert(Event event)
convert
in class AbstractAvroEventSerializer<Event>
event
- Copyright © 2009–2019 Apache Software Foundation. All rights reserved.