@Override
    public void reset() {
        if (selector != null) {
            selector.process(generateResetComplexEventChunk(metaStreamEvent));
        }
    }
This class is used to keep the runtime information needed to execute a insert on-demand query.
modules/siddhi-core/src/main/java/io/siddhi/core/query/InsertOnDemandQueryRuntime.java