public void convertData(long timestamp, Object[] data, StreamEvent.Type type, StreamEvent newEvent) {
        for (ConversionMapping element : conversionMappings) {
            newEvent.setOutputData(data[element.getFromPosition()], element.getToPosition()[1]);
        }
        newEvent.setType(type);
        newEvent.setTimestamp(timestamp);
    }
The converter class that only converts the OutputData of the events to StreamEvent
modules/siddhi-core/src/main/java/io/siddhi/core/event/stream/converter/SimpleStreamEventConverter.java