public class DefaultEventDataFormat extends Object implements IEventDataFormat
A default implementation of IEventDataFormat that converts the tuple into a delimited string.
Constructor and Description |
---|
DefaultEventDataFormat() |
Modifier and Type | Method and Description |
---|---|
byte[] |
serialize(Tuple tuple) |
DefaultEventDataFormat |
withFieldDelimiter(String delimiter) |
public DefaultEventDataFormat withFieldDelimiter(String delimiter)
public byte[] serialize(Tuple tuple)
serialize
in interface IEventDataFormat
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.