public K key() {
        return key;
    }
Return the key that was specified for this query.

@return The key that was specified for this query.
streams/src/main/java/org/apache/kafka/streams/query/TimestampedKeyQuery.java