@Override
    public void reset() {
        if (selector != null) {
            selector.process(generateResetComplexEventChunk(metaStreamEvent));
        }
    }
On-demand Query Runtime holds the runtime information needed for executing the on-demand Query.
modules/siddhi-core/src/main/java/io/siddhi/core/query/SelectOnDemandQueryRuntime.java