public class DynamicPulsarDeserializationSchema extends Object implements PulsarDeserializationSchema<org.apache.flink.table.data.RowData>
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.data.RowData |
deserialize(org.apache.pulsar.client.api.Message record)
Deserializes the Pulsar message.
|
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> |
getProducedType() |
boolean |
isEndOfStream(org.apache.flink.table.data.RowData 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.table.data.RowData>Exceptionpublic boolean isEndOfStream(org.apache.flink.table.data.RowData nextElement)
PulsarDeserializationSchemaisEndOfStream in interface PulsarDeserializationSchema<org.apache.flink.table.data.RowData>nextElement - The element to test for the end-of-stream signal.public org.apache.flink.table.data.RowData deserialize(org.apache.pulsar.client.api.Message record)
throws IOException
PulsarDeserializationSchemadeserialize in interface PulsarDeserializationSchema<org.apache.flink.table.data.RowData>record - Pulsar message to be deserialized.IOExceptionpublic org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> getProducedType()
getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.table.data.RowData>Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.