T - the type of record class.public class JsonDeser<T> extends Object implements org.apache.flink.api.common.serialization.DeserializationSchema<T>
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] message) |
org.apache.flink.api.common.typeinfo.TypeInformation<T> |
getProducedType() |
boolean |
isEndOfStream(T nextElement) |
static <T> JsonDeser<T> |
of(Class<T> recordClazz) |
public T deserialize(byte[] message) throws IOException
deserialize in interface org.apache.flink.api.common.serialization.DeserializationSchema<T>IOExceptionpublic boolean isEndOfStream(T nextElement)
isEndOfStream in interface org.apache.flink.api.common.serialization.DeserializationSchema<T>Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.