public QueryResult<R> getGlobalResult() {
        return globalResult;
    }
The query's result for global store queries. Is {@code null} for non-global (partitioned)
store queries.
streams/src/main/java/org/apache/kafka/streams/query/StateQueryResult.java