@PublicEvolving public class JsonNodeDeserializationSchema extends AbstractDeserializationSchema<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode>
Fields can be accessed by calling objectNode.get(<name>).as(<type>)
Constructor and Description |
---|
JsonNodeDeserializationSchema() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode |
deserialize(byte[] message)
De-serializes the byte message.
|
getProducedType, isEndOfStream
public org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode deserialize(byte[] message) throws IOException
AbstractDeserializationSchema
deserialize
in interface DeserializationSchema<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode>
deserialize
in class AbstractDeserializationSchema<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode>
message
- The message, as a byte array.IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.