public class ZeroStreamEventConverter extends Object implements StreamEventConverter, Serializable
StreamEventConverter.ConversionMapping
Constructor and Description |
---|
ZeroStreamEventConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convertComplexEvent(ComplexEvent complexEvent,
StreamEvent newEvent)
Method to construct(change format) new StreamEvent from StreamEvent
|
void |
convertData(long timestamp,
Object[] data,
ComplexEvent.Type type,
StreamEvent newEvent)
Method to construct(change format) timeStamp and data from StreamEvent
|
void |
convertData(long timestamp,
Object[] data,
StreamEvent newEvent)
Method to construct(change format) timeStamp and data from StreamEvent
|
void |
convertEvent(Event event,
StreamEvent newEvent)
Method to construct StreamEvent form Event
|
public void convertData(long timestamp, Object[] data, ComplexEvent.Type type, StreamEvent newEvent)
StreamEventConverter
convertData
in interface StreamEventConverter
timestamp
- timeStamp of the eventdata
- output data of the eventtype
- output type of the eventnewEvent
- Event that will be populatedpublic void convertEvent(Event event, StreamEvent newEvent)
StreamEventConverter
convertEvent
in interface StreamEventConverter
event
- Event to be convertednewEvent
- Event that will be populatedpublic void convertComplexEvent(ComplexEvent complexEvent, StreamEvent newEvent)
StreamEventConverter
convertComplexEvent
in interface StreamEventConverter
complexEvent
- StreamEvent to be ConvertednewEvent
- Event that will be populatedpublic void convertData(long timestamp, Object[] data, StreamEvent newEvent)
StreamEventConverter
convertData
in interface StreamEventConverter
timestamp
- timeStamp of the eventdata
- output data of the eventnewEvent
- Event that will be populatedCopyright © 2019. All rights reserved.