Class StateEvent

    • Constructor Detail

      • StateEvent

        public StateEvent​(int streamEventsSize,
                          int outputSize)
    • Method Detail

      • getStreamEvent

        public StreamEvent getStreamEvent​(int position)
      • getStreamEvents

        public StreamEvent[] getStreamEvents()
      • getAttribute

        public Object getAttribute​(int[] position)
        Specified by:
        getAttribute in interface ComplexEvent
        Parameters:
        position - int array of 3 or 4 elements int array of 3 : position[0]-which element of the streamEventSize array, position[1]-BeforeWindowData or OutputData or AfterWindowData, position[2]- which attribute int array of 4 : position[0]-which element of the streamEventSize array, position[1]-which event of the event chain, position[3]- BeforeWindowData or OutputData or AfterWindowData, position[4]- which attribute
        Returns:
        Attribute
      • getStreamEvent

        public StreamEvent getStreamEvent​(int[] position)
      • setTimestamp

        public void setTimestamp​(long timestamp)
      • setEvent

        public void setEvent​(int position,
                             StreamEvent streamEvent)
      • addEvent

        public void addEvent​(int position,
                             StreamEvent streamEvent)
      • removeLastEvent

        public void removeLastEvent​(int position)
      • getId

        public long getId()
      • setId

        public void setId​(long id)