public class SparkFlumeEvent
extends Object
implements java.io.Externalizable
This is necessary because AvroFlumeEvent uses inner data structures which are not serializable.
Constructor and Description |
---|
SparkFlumeEvent() |
Modifier and Type | Method and Description |
---|---|
org.apache.flume.source.avro.AvroFlumeEvent |
event() |
static SparkFlumeEvent |
fromAvroFlumeEvent(org.apache.flume.source.avro.AvroFlumeEvent in) |
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
public static SparkFlumeEvent fromAvroFlumeEvent(org.apache.flume.source.avro.AvroFlumeEvent in)
public org.apache.flume.source.avro.AvroFlumeEvent event()
public void readExternal(java.io.ObjectInput in)
readExternal
in interface java.io.Externalizable
public void writeExternal(java.io.ObjectOutput out)
writeExternal
in interface java.io.Externalizable