public Selector getSelector() {

        return selector;
    }
Getter method to get the selector of the on-demand query

@return selector of the on-demand query
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/OnDemandQuery.java