Interface StreamEventConverter

    • Method Detail

      • convertEvent

        void convertEvent​(Event event,
                          StreamEvent newEvent)
        Method to construct StreamEvent form Event
        Parameters:
        event - Event to be converted
        newEvent - 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 Converted
        newEvent - 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 event
        data - output data of the event
        newEvent - 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 event
        data - output data of the event
        type - output type of the event
        newEvent - Event that will be populated