public class EventDeSerializer extends Object implements org.apache.flink.api.common.serialization.DeserializationSchema<Event>, org.apache.flink.api.common.serialization.SerializationSchema<Event>
Event type.| Constructor and Description |
|---|
EventDeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Event |
deserialize(byte[] message) |
org.apache.flink.api.common.typeinfo.TypeInformation<Event> |
getProducedType() |
boolean |
isEndOfStream(Event nextElement) |
byte[] |
serialize(Event evt) |
public byte[] serialize(Event evt)
serialize in interface org.apache.flink.api.common.serialization.SerializationSchema<Event>public Event deserialize(byte[] message) throws IOException
deserialize in interface org.apache.flink.api.common.serialization.DeserializationSchema<Event>IOExceptionpublic boolean isEndOfStream(Event nextElement)
isEndOfStream in interface org.apache.flink.api.common.serialization.DeserializationSchema<Event>Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.