public class PulsarRowDeserializationSchema extends Object implements PulsarDeserializationSchema<org.apache.flink.types.Row>
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.types.Row |
deserialize(org.apache.pulsar.client.api.Message record)
Deserializes the Pulsar message.
|
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> |
getProducedType() |
boolean |
isEndOfStream(org.apache.flink.types.Row nextElement)
Method to decide whether the element signals the end of the stream.
|
void |
open(org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializepublic void open(org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext context)
throws Exception
open in interface PulsarDeserializationSchema<org.apache.flink.types.Row>Exceptionpublic boolean isEndOfStream(org.apache.flink.types.Row nextElement)
PulsarDeserializationSchemaisEndOfStream in interface PulsarDeserializationSchema<org.apache.flink.types.Row>nextElement - The element to test for the end-of-stream signal.public org.apache.flink.types.Row deserialize(org.apache.pulsar.client.api.Message record)
throws IOException
PulsarDeserializationSchemadeserialize in interface PulsarDeserializationSchema<org.apache.flink.types.Row>record - Pulsar message to be deserialized.IOExceptionpublic org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> getProducedType()
getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.types.Row>Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.