public class StringEventDataScheme extends Object implements IEventDataScheme
An Event Data Scheme which deserializes message payload into the Strings. No encoding is assumed. The receiver will need to handle parsing of the string data in appropriate encoding.
Note: Unlike other schemes provided, this scheme does not include any metadata.
For metadata please refer to BinaryEventDataScheme, EventDataScheme
| Constructor and Description |
|---|
StringEventDataScheme() |
| 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)
IEventDataSchemeDeserialize an AMQP Message into a Tuple.
deserialize in interface IEventDataSchemeeventData - The EventData to Deserialize.for the list of fields the tuple will contain.public Fields getOutputFields()
IEventDataSchemeRetrieve the Fields that are present on tuples created by this object.
getOutputFields in interface IEventDataSchemeCopyright © 2021 The Apache Software Foundation. All rights reserved.