Interface StreamEventConverter
-
- All Known Implementing Classes:
SelectiveStreamEventConverter,SimpleStreamEventConverter,ZeroStreamEventConverter
public interface StreamEventConverterThe converter that converts data of the events into StreamEvents
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStreamEventConverter.ConversionMappingElement to hold information about event conversion
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconvertComplexEvent(ComplexEvent complexEvent, StreamEvent newEvent)Method to construct(change format) new StreamEvent from StreamEventvoidconvertData(long timeStamp, Object[] data, ComplexEvent.Type type, StreamEvent newEvent)Method to construct(change format) timeStamp and data from StreamEventvoidconvertData(long timeStamp, Object[] data, StreamEvent newEvent)Method to construct(change format) timeStamp and data from StreamEventvoidconvertEvent(Event event, StreamEvent newEvent)Method to construct StreamEvent form Event
-
-
-
Method Detail
-
convertEvent
void convertEvent(Event event, StreamEvent newEvent)
Method to construct StreamEvent form Event- Parameters:
event- Event to be convertednewEvent- Event that will be populated
-
convertComplexEvent
void convertComplexEvent(ComplexEvent complexEvent, StreamEvent newEvent)
Method to construct(change format) new StreamEvent from StreamEvent- Parameters:
complexEvent- StreamEvent to be ConvertednewEvent- Event that will be populated
-
convertData
void convertData(long timeStamp, Object[] data, StreamEvent newEvent)Method to construct(change format) timeStamp and data from StreamEvent- Parameters:
timeStamp- timeStamp of the eventdata- output data of the eventnewEvent- Event that will be populated
-
convertData
void convertData(long timeStamp, Object[] data, ComplexEvent.Type type, StreamEvent newEvent)Method to construct(change format) timeStamp and data from StreamEvent- Parameters:
timeStamp- timeStamp of the eventdata- output data of the eventtype- output type of the eventnewEvent- Event that will be populated
-
-