T
- The type created by the deserialization schema.DeserializationSchema
instead.@Public @Deprecated public interface DeserializationSchema<T> extends org.apache.flink.api.common.serialization.DeserializationSchema<T>, Serializable, org.apache.flink.api.java.typeutils.ResultTypeQueryable<T>
Note: In most cases, one should start from AbstractDeserializationSchema
, which takes
care of producing the return type information automatically.
限定符和类型 | 方法和说明 |
---|---|
T |
deserialize(byte[] message)
已过时。
Deserializes the byte message.
|
boolean |
isEndOfStream(T nextElement)
已过时。
Method to decide whether the element signals the end of the stream.
|
T deserialize(byte[] message) throws IOException
deserialize
在接口中 org.apache.flink.api.common.serialization.DeserializationSchema<T>
message
- The message, as a byte array.IOException
boolean isEndOfStream(T nextElement)
isEndOfStream
在接口中 org.apache.flink.api.common.serialization.DeserializationSchema<T>
nextElement
- The element to test for the end-of-stream signal.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.