public void setGlobalResult(final QueryResult<R> r) {
        this.globalResult = r;
    }
Set the result for a global store query. Used by Kafka Streams and available for tests.
streams/src/main/java/org/apache/kafka/streams/query/StateQueryResult.java