public StreamEvent getAddingStreamEvent(StateEvent updateOrAddingEvent) {
        return updateOrAddingEvent.getStreamEvent(matchingStreamEventPosition);
    }
Extract a {@link StreamEvent} from a {@link StateEvent}
modules/siddhi-core/src/main/java/io/siddhi/core/util/collection/AddingStreamEventExtractor.java