org.apache.storm.eventhubs.bolt

## Class DefaultEventDataFormat

- java.lang.Object
- - org.apache.storm.eventhubs.bolt.DefaultEventDataFormat

- All Implemented Interfaces:
    Serializable, IEventDataFormat

      public class DefaultEventDataFormat
      extends Object
      implements IEventDataFormat

  A default implementation of IEventDataFormat that converts the tuple into a delimited string.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultEventDataFormat()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `serialize(Tuple tuple)`
    `DefaultEventDataFormat` | `withFieldDelimiter(String delimiter)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultEventDataFormat

          public DefaultEventDataFormat()

  - ### Method Detail

    - #### withFieldDelimiter

          public DefaultEventDataFormat withFieldDelimiter(String delimiter)

    - #### serialize

          public byte[] serialize(Tuple tuple)

      Specified by:
        `serialize` in interface `IEventDataFormat`

Copyright © 2021 The Apache Software Foundation. All rights reserved.