public StoreQuery outStream(OutputStream outputStream) {

        onDemandQuery.outStream(outputStream);
        return this;
    }
Builder method to set an outPutStream to the store query

@param outputStream outPutStream for the store query
@return updated store query
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/StoreQuery.java