public class BinaryEventDataScheme extends Object implements IEventDataScheme
An Event Data Scheme which deserializes message payload into the raw bytes.
The resulting tuple would contain three items, the first being the message bytes, and the second a map of properties that include metadata, which can be used to determine who processes the message, and how it is processed.The third is the system properties which exposes information like enqueue-time, offset and sequence number
Constructor and Description |
---|
BinaryEventDataScheme() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
deserialize(com.microsoft.azure.eventhubs.EventData eventData)
Deserialize an AMQP Message into a Tuple.
|
Fields |
getOutputFields()
Retrieve the Fields that are present on tuples created by this object.
|
public List<Object> deserialize(com.microsoft.azure.eventhubs.EventData eventData)
IEventDataScheme
Deserialize an AMQP Message into a Tuple.
deserialize
in interface IEventDataScheme
eventData
- The EventData to Deserialize.for the list of fields the tuple will contain.
public Fields getOutputFields()
IEventDataScheme
Retrieve the Fields that are present on tuples created by this object.
getOutputFields
in interface IEventDataScheme
Copyright © 2022 The Apache Software Foundation. All rights reserved.