public class EventDataScheme extends Object implements IEventDataScheme
The resulting tuple would contain two items: the the message string, and a map of properties that include metadata, which can be used to determine who processes the message, and how it is processed.
For passing the raw bytes of a messsage to Bolts, refer to BinaryEventDataScheme
.
Constructor and Description |
---|
EventDataScheme() |
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
in interface IEventDataScheme
eventData
- The EventData to Deserialize.for the list of fields the tuple will contain.
public Fields getOutputFields()
IEventDataScheme
getOutputFields
in interface IEventDataScheme
Copyright © 2023 The Apache Software Foundation. All rights reserved.