public K key() {
        return key;
    }
The key that was specified for this query.
@return The specified {@code key} of the query.
streams/src/main/java/org/apache/kafka/streams/query/VersionedKeyQuery.java