public class ErrorMaskingEventCodec extends EventCodec
ErrorMaskingEventCodec class.
| Constructor and Description |
|---|
ErrorMaskingEventCodec() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromByteArray(com.datatorrent.netlet.util.Slice fragment) |
com.datatorrent.netlet.util.Slice |
toByteArray(org.apache.flume.Event event) |
getPartitionpublic Object fromByteArray(com.datatorrent.netlet.util.Slice fragment)
fromByteArray in interface com.datatorrent.api.StreamCodec<org.apache.flume.Event>fromByteArray in class EventCodecpublic com.datatorrent.netlet.util.Slice toByteArray(org.apache.flume.Event event)
toByteArray in interface com.datatorrent.api.StreamCodec<org.apache.flume.Event>toByteArray in class EventCodecCopyright © 2015-2017 Apache Software Foundation. All Rights Reserved.