You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/12/14 15:55:41 UTC

[GitHub] [kafka] vpapavas commented on a change in pull request #11582: KAFKA-13525: Implement KeyQuery in Streams IQv2

vpapavas commented on a change in pull request #11582:
URL: https://github.com/apache/kafka/pull/11582#discussion_r768807046



##########
File path: streams/src/main/java/org/apache/kafka/streams/query/QueryResult.java
##########
@@ -197,6 +197,18 @@ public R getResult() {
         return result;
     }
 
+    @SuppressWarnings("unchecked")
+    public <V> QueryResult<V> swapResult(final V value) {

Review comment:
       We don't really need this. You can just do `QueryResult.forResult` in the `MeteredKeyValue` store for example to get the typed result




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org