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 borrowedEvent)
Method to construct(change format) new StreamEvent from StreamEvent
|
void |
convertData(long timeStamp,
Object[] data,
ComplexEvent.Type type,
StreamEvent borrowedEvent)
Method to construct(change format) timeStamp and data from StreamEvent
|
void |
convertData(long timeStamp,
Object[] data,
StreamEvent borrowedEvent)
Method to construct(change format) timeStamp and data from StreamEvent
|
void |
convertEvent(Event event,
StreamEvent borrowedEvent)
Method to construct StreamEvent form Event
|
void convertEvent(Event event, StreamEvent borrowedEvent)
event - Event to be convertedborrowedEvent - Event that will be populatedvoid convertComplexEvent(ComplexEvent complexEvent, StreamEvent borrowedEvent)
complexEvent - StreamEvent to be ConvertedborrowedEvent - Event that will be populatedvoid convertData(long timeStamp,
Object[] data,
StreamEvent borrowedEvent)
timeStamp - timeStamp of the eventdata - output data of the eventborrowedEvent - Event that will be populatedvoid convertData(long timeStamp,
Object[] data,
ComplexEvent.Type type,
StreamEvent borrowedEvent)
timeStamp - timeStamp of the eventdata - output data of the eventtype - output type of the eventborrowedEvent - Event that will be populatedCopyright © 2019 WSO2. All rights reserved.