@Override
    public void setOutputData(Object object, int index) {
        outputData[index] = object;
    }
Implementation of StateEvent to be used when executing join/pattern queries
modules/siddhi-core/src/main/java/io/siddhi/core/event/state/StateEvent.java