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