public StateEvent newInstance() {
        return new StateEvent(eventSize, outputDataSize);
    }
Event Factory to create new StateEvents
modules/siddhi-core/src/main/java/io/siddhi/core/event/state/StateEventFactory.java