static <R> QueryResult<R> forResult(final R result) {
        return new SucceededQueryResult<>(result);
    }
Static factory method to create a result object for a successful query. Used by StateStores
to respond to a {@link StateStore#query(Query, PositionBound, QueryConfig)}.
streams/src/main/java/org/apache/kafka/streams/query/QueryResult.java