public interface StreamEventConverter
Modifier and Type | Interface and Description |
---|---|
static class |
StreamEventConverter.ConversionMapping
Element to hold information about event conversion
|
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
|
void convertEvent(Event event, StreamEvent newEvent)
event
- Event to be convertednewEvent
- Event that will be populatedvoid convertComplexEvent(ComplexEvent complexEvent, StreamEvent newEvent)
complexEvent
- StreamEvent to be ConvertednewEvent
- Event that will be populatedvoid convertData(long timeStamp, Object[] data, StreamEvent newEvent)
timeStamp
- timeStamp of the eventdata
- output data of the eventnewEvent
- Event that will be populatedvoid convertData(long timeStamp, Object[] data, ComplexEvent.Type type, StreamEvent newEvent)
timeStamp
- timeStamp of the eventdata
- output data of the eventtype
- output type of the eventnewEvent
- Event that will be populatedCopyright © 2019. All rights reserved.