T
- The type created by the deserialization schema.@Public public interface DeserializationSchema<T> extends Serializable, ResultTypeQueryable<T>
Note: In most cases, one should start from AbstractDeserializationSchema
, which
takes care of producing the return type information automatically.
Modifier and Type | Method and Description |
---|---|
T |
deserialize(byte[] message)
Deserializes the byte message.
|
boolean |
isEndOfStream(T nextElement)
Method to decide whether the element signals the end of the stream.
|
getProducedType
T deserialize(byte[] message) throws IOException
message
- The message, as a byte array.IOException
boolean isEndOfStream(T nextElement)
nextElement
- The element to test for the end-of-stream signal.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.